aboutsummaryrefslogtreecommitdiffstats
path: root/sm/server.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-03-18 11:18:56 +0000
committerWerner Koch <[email protected]>2009-03-18 11:18:56 +0000
commita3b63ac1dc1084beb3d4350e10033ac4af43dcf5 (patch)
tree0eb716595b5d85872ecb006743847d99945639ea /sm/server.c
parentEnhanced last patch. (diff)
downloadgnupg-a3b63ac1dc1084beb3d4350e10033ac4af43dcf5.tar.gz
gnupg-a3b63ac1dc1084beb3d4350e10033ac4af43dcf5.zip
Add server option with-ephemeral-keys.
Extend SCD LEARN command.
Diffstat (limited to '')
-rw-r--r--sm/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sm/server.c b/sm/server.c
index 9b0a04f18..6b9eeb82d 100644
--- a/sm/server.c
+++ b/sm/server.c
@@ -296,6 +296,11 @@ option_handler (assuan_context_t ctx, const char *key, const char *value)
}
else if (!strcmp (key, "allow-pinentry-notify"))
ctrl->server_local->allow_pinentry_notify = 1;
+ else if (!strcmp (key, "with-ephemeral-keys"))
+ {
+ int i = *value? atoi (value) : 0;
+ ctrl->with_ephemeral_keys = i;
+ }
else
return gpg_error (GPG_ERR_UNKNOWN_OPTION);