projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
e_rc4_hmac_md5.c: oops, can't use rc4_hmac_md5_cipher on legacy Intel CPUs.
[oweals/openssl.git]
/
crypto
/
evp
/
names.c
diff --git
a/crypto/evp/names.c
b/crypto/evp/names.c
index f2869f5c7853bdf1f63f6bfa3b78a6ad25dfabf3..33dea162dcf8a897dff4cf04767739113145b873 100644
(file)
--- a/
crypto/evp/names.c
+++ b/
crypto/evp/names.c
@@
-66,6
+66,8
@@
int EVP_add_cipher(const EVP_CIPHER *c)
{
int r;
+ if (c == NULL) return(0);
+
r=OBJ_NAME_add(OBJ_nid2sn(c->nid),OBJ_NAME_TYPE_CIPHER_METH,(const char *)c);
if (r == 0) return(0);
check_defer(c->nid);