projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
evp/e_aes.c: add erroneously omitted break;
[oweals/openssl.git]
/
crypto
/
evp
/
names.c
diff --git
a/crypto/evp/names.c
b/crypto/evp/names.c
index f2869f5c7853bdf1f63f6bfa3b78a6ad25dfabf3..42f1e5d9e79d72a6d830bf21f995654dc7ed414d 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);