summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 1ddf276a93..44585c943f 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.51 2018/05/18 16:55:58 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.52 2018/05/18 17:53:09 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1112,14 +1112,14 @@ int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type,
1112X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, 1112X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne,
1113 const char *field, int type, const unsigned char *bytes, int len); 1113 const char *field, int type, const unsigned char *bytes, int len);
1114X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, 1114X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid,
1115 int type,unsigned char *bytes, int len); 1115 int type, const unsigned char *bytes, int len);
1116int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, 1116int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
1117 const unsigned char *bytes, int len, int loc, int set); 1117 const unsigned char *bytes, int len, int loc, int set);
1118X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, 1118X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne,
1119 ASN1_OBJECT *obj, int type,const unsigned char *bytes, 1119 const ASN1_OBJECT *obj, int type,
1120 int len); 1120 const unsigned char *bytes, int len);
1121int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, 1121int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne,
1122 ASN1_OBJECT *obj); 1122 const ASN1_OBJECT *obj);
1123int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, 1123int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type,
1124 const unsigned char *bytes, int len); 1124 const unsigned char *bytes, int len);
1125ASN1_OBJECT * X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne); 1125ASN1_OBJECT * X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne);