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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 7795181efc..0ff66587b9 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.90 2022/07/12 14:42:50 kn Exp $ */ 1/* $OpenBSD: x509.h,v 1.91 2022/12/26 07:18:53 jmc 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 *
@@ -893,7 +893,7 @@ int X509_NAME_get_text_by_NID(X509_NAME *name, int nid,
893int X509_NAME_get_text_by_OBJ(X509_NAME *name, 893int X509_NAME_get_text_by_OBJ(X509_NAME *name,
894 const ASN1_OBJECT *obj, char *buf,int len); 894 const ASN1_OBJECT *obj, char *buf,int len);
895 895
896/* NOTE: you should be passsing -1, not 0 as lastpos. The functions that use 896/* NOTE: you should be passing -1, not 0 as lastpos. The functions that use
897 * lastpos, search after that position on. */ 897 * lastpos, search after that position on. */
898int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, 898int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid,
899 int lastpos); 899 int lastpos);