mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
979ed0ca26
commit
6f7ed05900
8 changed files with 510 additions and 252 deletions
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue