aboutsummaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-06-06 13:00:59 +0000
committerWerner Koch <[email protected]>2004-06-06 13:00:59 +0000
commitf289f433b6d7f0b5ac76e03853ce628f23e3cdc2 (patch)
tree4170844bd2e7c143fab1bf498d9136a0fe021a1f /sm/sign.c
parent* util.h (xtrycalloc_secure,xtrymalloc_secure): New. (diff)
downloadgnupg-f289f433b6d7f0b5ac76e03853ce628f23e3cdc2.tar.gz
gnupg-f289f433b6d7f0b5ac76e03853ce628f23e3cdc2.zip
* configure.ac: Require libksba 0.9.7.
* certreqgen.c (get_parameter_uint, create_request): Create an extension for key usage when requested. * gpgsm.c (main): Install emergency_cleanup also as an atexit handler. * verify.c (gpgsm_verify): Removed the separate error code handling for KSBA. We use shared error codes anyway. * export.c (export_p12): Removed debugging code. * encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.
Diffstat (limited to 'sm/sign.c')
-rw-r--r--sm/sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/sign.c b/sm/sign.c
index 3340f1066..5deef6088 100644
--- a/sm/sign.c
+++ b/sm/sign.c
@@ -456,8 +456,8 @@ gpgsm_sign (CTRL ctrl, CERTLIST signerlist,
unsigned char *digest;
size_t digest_len;
/* Fixme do this for all signers and get the algo to use from
- the signer's certificate - does not make mich sense, bu we
- should do this consistent as we have already done it above */
+ the signer's certificate - does not make mich sense, but we
+ should do this consistent as we have already done it above. */
algo = GCRY_MD_SHA1;
hash_data (data_fd, data_md);
digest = gcry_md_read (data_md, algo);