summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-16 17:43:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-25 14:15:00 +0000
commit2743e38c2f4bcb00142d8c65e48a66f547033a64 (patch)
tree640e29c0dbfd9abb5fd4dd0d993127a162965922 /apps
parent70e5fd877890489a3972bf8bf50bfec1fca3875e (diff)
make X509_NAME opaque
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 9ef0ce31e6..b498b0a25a 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1688,7 +1688,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509,
if (msie_hack) {
/* assume all type should be strings */
- nid = OBJ_obj2nid(ne->object);
+ nid = OBJ_obj2nid(X509_NAME_ENTRY_get_object(ne));
if (str->type == V_ASN1_UNIVERSALSTRING)
ASN1_UNIVERSALSTRING_to_string(str);