summaryrefslogtreecommitdiffstats
path: root/g10/seckey-cert.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-07-29 10:53:19 +0200
committerWerner Koch <wk@gnupg.org>2003-07-29 10:53:19 +0200
commit6f7ed0590060cc013946e192f725545445e6c39f (patch)
tree4b3b9288bf43e704dd81d5507bb80debfe52f558 /g10/seckey-cert.c
parentAdjusted for use with current libgcrypt (1.1.42). (diff)
downloadgnupg2-6f7ed0590060cc013946e192f725545445e6c39f.tar.xz
gnupg2-6f7ed0590060cc013946e192f725545445e6c39f.zip
* gpgsm.c (main): Add secmem features and set the random seed file.
(gpgsm_exit): Update the random seed file and enable debug output. * g10.c (main): Add secmem features and set the random seed file. (g10_exit): Update the random seed file. * parse-packet.c (parse_signature,read_protected_v3_mpi) (parse_key): Fixed use of mpi_set_opaque. * keygen.c (gen_card_key): Ditto.
Diffstat (limited to 'g10/seckey-cert.c')
-rw-r--r--g10/seckey-cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/seckey-cert.c b/g10/seckey-cert.c
index c9bddd2ff..5a7db4c97 100644
--- a/g10/seckey-cert.c
+++ b/g10/seckey-cert.c
@@ -323,7 +323,7 @@ protect_secret_key( PKT_secret_key *sk, DEK *dek )
return 0;
if( !sk->is_protected ) { /* okay, apply the protection */
- CIPHER_HANDLE cipher_hd=NULL;
+ gcry_cipher_hd_t cipher_hd=NULL;
if( openpgp_cipher_test_algo( sk->protect.algo ) )
{