diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-05-18 16:55:59 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-05-18 16:55:59 +0000 |
commit | 53648ee51bc065786202c2dba46dd1da64153177 (patch) | |
tree | f57bd6ca838c108b293169b66e98879e345a071f /lib/libcrypto/x509/x509_v3.c | |
parent | 88527f64abc9ab6fd79409d999618033dc6b1fe4 (diff) |
X509_EXTENSION_get_critical(3) now takes a 'const ASN1_OBJECT *obj' and
X509_EXTENSION_set_object(3) a 'const X509_EXTENSION *ex'.
tested in a bulk build by sthen,
ok jsing
Diffstat (limited to 'lib/libcrypto/x509/x509_v3.c')
-rw-r--r-- | lib/libcrypto/x509/x509_v3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/x509/x509_v3.c b/lib/libcrypto/x509/x509_v3.c index d56a6027957..1b4e89e8932 100644 --- a/lib/libcrypto/x509/x509_v3.c +++ b/lib/libcrypto/x509/x509_v3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_v3.c,v 1.15 2018/05/13 10:25:06 tb Exp $ */ +/* $OpenBSD: x509_v3.c,v 1.16 2018/05/18 16:55:58 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -240,7 +240,7 @@ err: } int -X509_EXTENSION_set_object(X509_EXTENSION *ex, ASN1_OBJECT *obj) +X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj) { if ((ex == NULL) || (obj == NULL)) return (0); @@ -288,7 +288,7 @@ X509_EXTENSION_get_data(X509_EXTENSION *ex) } int -X509_EXTENSION_get_critical(X509_EXTENSION *ex) +X509_EXTENSION_get_critical(const X509_EXTENSION *ex) { if (ex == NULL) return (0); |