* gpgsm.c (main): Add secmem features and set the random seed file.
[gnupg.git] / g10 / seckey-cert.c
index c9bddd2..5a7db4c 100644 (file)
@@ -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 ) )
           {