diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_v3.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_v3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c index d56a602795..1b4e89e893 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.15 2018/05/13 10:25:06 tb Exp $ */ | 1 | /* $OpenBSD: x509_v3.c,v 1.16 2018/05/18 16:55:58 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 | * |
@@ -240,7 +240,7 @@ err: | |||
240 | } | 240 | } |
241 | 241 | ||
242 | int | 242 | int |
243 | X509_EXTENSION_set_object(X509_EXTENSION *ex, ASN1_OBJECT *obj) | 243 | X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj) |
244 | { | 244 | { |
245 | if ((ex == NULL) || (obj == NULL)) | 245 | if ((ex == NULL) || (obj == NULL)) |
246 | return (0); | 246 | return (0); |
@@ -288,7 +288,7 @@ X509_EXTENSION_get_data(X509_EXTENSION *ex) | |||
288 | } | 288 | } |
289 | 289 | ||
290 | int | 290 | int |
291 | X509_EXTENSION_get_critical(X509_EXTENSION *ex) | 291 | X509_EXTENSION_get_critical(const X509_EXTENSION *ex) |
292 | { | 292 | { |
293 | if (ex == NULL) | 293 | if (ex == NULL) |
294 | return (0); | 294 | return (0); |