diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-03-15 16:26:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-03-24 17:35:58 +0000 |
commit | 2e430277578d3dd586cd005682a54a59d6158146 (patch) | |
tree | 4fa3771298d408499873043a3f37f61b2c7746d0 /crypto/evp | |
parent | 7b68c30da01b4eedcd546f81844156646387cacb (diff) | |
download | openssl-2e430277578d3dd586cd005682a54a59d6158146.zip openssl-2e430277578d3dd586cd005682a54a59d6158146.tar.gz openssl-2e430277578d3dd586cd005682a54a59d6158146.tar.bz2 |
make ASN1_OBJECT opaque
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/evp_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index 966d9fb..8d00029 100644 --- 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; |