summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authortb <>2018-05-13 10:25:06 +0000
committertb <>2018-05-13 10:25:06 +0000
commitaef1a20ab3fcc10ea0f4aa9550fd730d0adaab8b (patch)
tree7a29d8732c419561fea204c6992dad3c9107de7b /src/lib/libcrypto/x509/x509.h
parentacc2166d7c709d3d81530e1bbd78da9c236b7aed (diff)
downloadopenbsd-aef1a20ab3fcc10ea0f4aa9550fd730d0adaab8b.tar.gz
openbsd-aef1a20ab3fcc10ea0f4aa9550fd730d0adaab8b.tar.bz2
openbsd-aef1a20ab3fcc10ea0f4aa9550fd730d0adaab8b.zip
Add const qualifier to the ASN1_OBJECT * parameter of
X509v3_get_ext_by_OBJ(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
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 349265891a..314236919b 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.47 2018/05/13 06:48:00 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.48 2018/05/13 10:25:06 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 *
@@ -1130,7 +1130,7 @@ int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x);
1130int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, 1130int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x,
1131 int nid, int lastpos); 1131 int nid, int lastpos);
1132int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x, 1132int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x,
1133 ASN1_OBJECT *obj,int lastpos); 1133 const ASN1_OBJECT *obj, int lastpos);
1134int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x, 1134int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x,
1135 int crit, int lastpos); 1135 int crit, int lastpos);
1136X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc); 1136X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);