diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index e8383d717c..84288de5de 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.80 2021/10/23 11:41:50 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.81 2021/10/23 11:56:10 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 | * |
@@ -596,6 +596,10 @@ extern "C" { | |||
596 | int X509_CRL_up_ref(X509_CRL *x); | 596 | int X509_CRL_up_ref(X509_CRL *x); |
597 | int X509_CRL_get_signature_nid(const X509_CRL *crl); | 597 | int X509_CRL_get_signature_nid(const X509_CRL *crl); |
598 | 598 | ||
599 | #if defined(LIBRESSL_NEW_API) | ||
600 | int i2d_re_X509_CRL_tbs(X509_CRL *req, unsigned char **pp); | ||
601 | #endif | ||
602 | |||
599 | const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl); | 603 | const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl); |
600 | long X509_CRL_get_version(const X509_CRL *crl); | 604 | long X509_CRL_get_version(const X509_CRL *crl); |
601 | const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); | 605 | const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); |
@@ -906,6 +910,11 @@ int X509_set_ex_data(X509 *r, int idx, void *arg); | |||
906 | void *X509_get_ex_data(X509 *r, int idx); | 910 | void *X509_get_ex_data(X509 *r, int idx); |
907 | int i2d_X509_AUX(X509 *a,unsigned char **pp); | 911 | int i2d_X509_AUX(X509 *a,unsigned char **pp); |
908 | X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length); | 912 | X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length); |
913 | |||
914 | #if defined(LIBRESSL_NEW_API) | ||
915 | int i2d_re_X509_tbs(X509 *x, unsigned char **pp); | ||
916 | #endif | ||
917 | |||
909 | void X509_get0_signature(const ASN1_BIT_STRING **psig, | 918 | void X509_get0_signature(const ASN1_BIT_STRING **psig, |
910 | const X509_ALGOR **palg, const X509 *x); | 919 | const X509_ALGOR **palg, const X509 *x); |
911 | int X509_get_signature_nid(const X509 *x); | 920 | int X509_get_signature_nid(const X509 *x); |
@@ -1019,6 +1028,7 @@ X509_NAME *X509_REQ_get_subject_name(const X509_REQ *x); | |||
1019 | int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey); | 1028 | int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey); |
1020 | EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req); | 1029 | EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req); |
1021 | #if defined(LIBRESSL_NEW_API) | 1030 | #if defined(LIBRESSL_NEW_API) |
1031 | int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp); | ||
1022 | EVP_PKEY * X509_REQ_get0_pubkey(X509_REQ *req); | 1032 | EVP_PKEY * X509_REQ_get0_pubkey(X509_REQ *req); |
1023 | #endif | 1033 | #endif |
1024 | int X509_REQ_extension_nid(int nid); | 1034 | int X509_REQ_extension_nid(int nid); |