summaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-01-10 20:47:20 +0100
committerWerner Koch <wk@gnupg.org>2002-01-10 20:47:20 +0100
commitdc37fe184907dfb70a99b573b8e36fa71d36061f (patch)
tree40860a3645374c3dcd0ef07edb84471e39045b53 /sm/sign.c
parent*** empty log message *** (diff)
downloadgnupg2-dc37fe184907dfb70a99b573b8e36fa71d36061f.tar.xz
gnupg2-dc37fe184907dfb70a99b573b8e36fa71d36061f.zip
* base64.c (gpgsm_create_writer): Allow to set the object name
* server.c (cmd_genkey): New. * certreqgen.c: New. The parameter handling code has been taken from gnupg/g10/keygen.c version 1.0.6. * call-agent.c (gpgsm_agent_genkey): New.
Diffstat (limited to 'sm/sign.c')
-rw-r--r--sm/sign.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/sign.c b/sm/sign.c
index b1a64ea3c..48ec24a4d 100644
--- a/sm/sign.c
+++ b/sm/sign.c
@@ -142,6 +142,7 @@ gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp)
goto leave;
}
+ ctrl->pem_name = "SIGNED MESSAGE";
rc = gpgsm_create_writer (&b64writer, ctrl, out_fp, &writer);
if (rc)
{