fixed typo causing crash in openpgp-sdk

This commit is contained in:
csoler 2017-02-23 19:16:48 +01:00
parent 9371521dd1
commit 65a383afea

View File

@ -755,7 +755,7 @@ ops_boolean_t ops_rsa_generate_keypair(const int numbits, const unsigned long e,
skey->public_key.key.rsa.n=BN_dup(nn) ;
skey->public_key.key.rsa.e=BN_dup(ee) ;
skey->public_key.key.rsa.e=BN_dup(dd) ;
skey->key.rsa.d=BN_dup(dd) ;
#endif
skey->s2k_usage=OPS_S2KU_ENCRYPTED_AND_HASHED;