summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509name.c
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 /crypto/x509/x509name.c
parent70e5fd877890489a3972bf8bf50bfec1fca3875e (diff)
make X509_NAME opaque
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/x509name.c')
-rw-r--r--crypto/x509/x509name.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/x509/x509name.c b/crypto/x509/x509name.c
index 6ea601f962..6bb1e5d3aa 100644
--- a/crypto/x509/x509name.c
+++ b/crypto/x509/x509name.c
@@ -63,6 +63,7 @@
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include "internal/x509_int.h"
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len)
{
@@ -395,3 +396,8 @@ ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne)
return (NULL);
return (ne->value);
}
+
+int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne)
+{
+ return ne->set;
+}