summaryrefslogtreecommitdiff
path: root/lib/x509/dn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/dn.h')
-rw-r--r--lib/x509/dn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/x509/dn.h b/lib/x509/dn.h
index 65483375ed..d6b0fff4d0 100644
--- a/lib/x509/dn.h
+++ b/lib/x509/dn.h
@@ -1,3 +1,6 @@
+#ifndef DN_H
+# define DN_H
+
/* Some OIDs usually found in Distinguished names
*/
#define OID_X520_COUNTRY_NAME "2 5 4 6"
@@ -17,3 +20,5 @@ int _gnutls_x509_parse_dn(ASN1_TYPE asn1_struct,
int _gnutls_x509_parse_dn_oid(ASN1_TYPE asn1_struct,
const char* asn1_rdn_name, const char* oid, int indx, char *buf,
int* sizeof_buf);
+
+#endif