summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authorjmc <>2022-12-26 07:18:53 +0000
committerjmc <>2022-12-26 07:18:53 +0000
commit8144b51086b3c46594192ccbec62762e58d61200 (patch)
tree26f3d93398833b7449b8a97e9fe4af9904382dbf /src/lib/libcrypto/x509/x509.h
parent54da696f897367a85e20e97a53d29b18b44cf8b7 (diff)
downloadopenbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.gz
openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.bz2
openbsd-8144b51086b3c46594192ccbec62762e58d61200.zip
spelling fixes; from paul tagliamonte
i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct ok tb
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);