aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index e9327d217..781561a71 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -33,7 +33,7 @@
#include "../common/estream.h"
#include "../common/audit.h"
-#define MAX_DIGEST_LEN 24
+#define MAX_DIGEST_LEN 64
struct keyserver_spec
{
@@ -92,9 +92,10 @@ struct
const char *def_cipher_algoid; /* cipher algorithm to use if
nothing else is specified */
- int def_digest_algo; /* Ditto for hash algorithm */
int def_compress_algo; /* Ditto for compress algorithm */
+ int forced_digest_algo; /* User forced hash algorithm. */
+
char *def_recipient; /* userID of the default recipient */
int def_recipient_self; /* The default recipient is the default key */