diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_v3.c | 6 |
2 files changed, 5 insertions, 5 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); | |||
1130 | int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, | 1130 | int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, |
1131 | int nid, int lastpos); | 1131 | int nid, int lastpos); |
1132 | int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x, | 1132 | int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x, |
1133 | ASN1_OBJECT *obj,int lastpos); | 1133 | const ASN1_OBJECT *obj, int lastpos); |
1134 | int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x, | 1134 | int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x, |
1135 | int crit, int lastpos); | 1135 | int crit, int lastpos); |
1136 | X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc); | 1136 | X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc); |
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c index 446ef319f8..d56a602795 100644 --- a/src/lib/libcrypto/x509/x509_v3.c +++ b/src/lib/libcrypto/x509/x509_v3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_v3.c,v 1.14 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: x509_v3.c,v 1.15 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 | * |
@@ -86,8 +86,8 @@ X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, int lastpos) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | int | 88 | int |
89 | X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, ASN1_OBJECT *obj, | 89 | X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, |
90 | int lastpos) | 90 | const ASN1_OBJECT *obj, int lastpos) |
91 | { | 91 | { |
92 | int n; | 92 | int n; |
93 | X509_EXTENSION *ex; | 93 | X509_EXTENSION *ex; |