summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509v3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509v3.h')
-rw-r--r--src/lib/libcrypto/x509/x509v3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index 9467a666c5..84229a1890 100644
--- a/src/lib/libcrypto/x509/x509v3.h
+++ b/src/lib/libcrypto/x509/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.6 2021/10/21 13:51:52 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.7 2021/10/22 18:37:15 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -799,6 +799,10 @@ char *X509_PURPOSE_get0_sname(const X509_PURPOSE *xp);
799int X509_PURPOSE_get_trust(const X509_PURPOSE *xp); 799int X509_PURPOSE_get_trust(const X509_PURPOSE *xp);
800void X509_PURPOSE_cleanup(void); 800void X509_PURPOSE_cleanup(void);
801int X509_PURPOSE_get_id(const X509_PURPOSE *); 801int X509_PURPOSE_get_id(const X509_PURPOSE *);
802#if defined(LIBRESSL_NEW_API)
803uint32_t X509_get_key_usage(X509 *x);
804uint32_t X509_get_extended_key_usage(X509 *x);
805#endif
802 806
803STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x); 807STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x);
804STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x); 808STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x);