diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 877f80eecc..29e00d7a5b 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.67 2018/05/19 10:58:08 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.68 2018/05/30 15:35:45 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 | * |
@@ -1100,8 +1100,9 @@ int X509_NAME_get_text_by_OBJ(X509_NAME *name, | |||
1100 | 1100 | ||
1101 | /* NOTE: you should be passsing -1, not 0 as lastpos. The functions that use | 1101 | /* NOTE: you should be passsing -1, not 0 as lastpos. The functions that use |
1102 | * lastpos, search after that position on. */ | 1102 | * lastpos, search after that position on. */ |
1103 | int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); | 1103 | int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, |
1104 | int X509_NAME_get_index_by_OBJ(X509_NAME *name, | 1104 | int lastpos); |
1105 | int X509_NAME_get_index_by_OBJ(const X509_NAME *name, | ||
1105 | const ASN1_OBJECT *obj, int lastpos); | 1106 | const ASN1_OBJECT *obj, int lastpos); |
1106 | X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc); | 1107 | X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc); |
1107 | X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); | 1108 | X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); |