projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make ASN1_OBJECT opaque
[oweals/openssl.git]
/
crypto
/
evp
/
evp_lib.c
diff --git
a/crypto/evp/evp_lib.c
b/crypto/evp/evp_lib.c
index 966d9fb2722778aa6cdbaea96f2517240e0ddf80..8d000298626381c1b155ee2c46cb8c9ccd9a2f36 100644
(file)
--- a/
crypto/evp/evp_lib.c
+++ b/
crypto/evp/evp_lib.c
@@
-176,7
+176,7
@@
int EVP_CIPHER_type(const EVP_CIPHER *ctx)
default:
/* Check it has an OID and it is valid */
otmp = OBJ_nid2obj(nid);
- if (
!otmp || !otmp->data
)
+ if (
OBJ_get0_data(otmp) == NULL
)
nid = NID_undef;
ASN1_OBJECT_free(otmp);
return nid;