projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for EVP_PBE_alg_add().
[openssl.git]
/
crypto
/
evp
/
evp_pbe.c
diff --git
a/crypto/evp/evp_pbe.c
b/crypto/evp/evp_pbe.c
index f8c32d825e79535e6739a84bc37bea66ec4bd405..596969594863b4b871a47215c0566ad22831a73d 100644
(file)
--- a/
crypto/evp/evp_pbe.c
+++ b/
crypto/evp/evp_pbe.c
@@
-259,7
+259,7
@@
int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
{
int cipher_nid, md_nid;
if (cipher)
- cipher_nid = EVP_CIPHER_
type
(cipher);
+ cipher_nid = EVP_CIPHER_
nid
(cipher);
else
cipher_nid = -1;
if (md)