diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-18 18:06:03 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-18 18:06:03 +0000 |
commit | a620626a33b29abe7a3b142c0a2379ffa0028ca7 (patch) | |
tree | 1727d706533f251da4811a68ad82f861351c3714 /crypto | |
parent | f13a71c66b9193d52e3e21c6e57c0ab81ebb947c (diff) | |
download | openssl-new-a620626a33b29abe7a3b142c0a2379ffa0028ca7.tar.gz |
Code tidy.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/p5_crpt2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c index 94189ff9f7..1c09879e89 100644 --- a/crypto/evp/p5_crpt2.c +++ b/crypto/evp/p5_crpt2.c @@ -200,8 +200,7 @@ int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, /* lets see if we recognise the encryption algorithm. */ - cipher = EVP_get_cipherbyname( - OBJ_nid2sn(OBJ_obj2nid(pbe2->encryption->algorithm))); + cipher = EVP_get_cipherbyobj(pbe2->encryption->algorithm); if(!cipher) { EVPerr(EVP_F_PKCS5_V2_PBE_KEYIVGEN, |