diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 0d3b3abebc..e8383d717c 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.79 2021/10/22 16:42:13 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.80 2021/10/23 11:41:50 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 | * |
@@ -829,6 +829,13 @@ void X509_SIG_free(X509_SIG *a); | |||
829 | X509_SIG *d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len); | 829 | X509_SIG *d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len); |
830 | int i2d_X509_SIG(X509_SIG *a, unsigned char **out); | 830 | int i2d_X509_SIG(X509_SIG *a, unsigned char **out); |
831 | extern const ASN1_ITEM X509_SIG_it; | 831 | extern const ASN1_ITEM X509_SIG_it; |
832 | #if defined(LIBRESSL_NEW_API) | ||
833 | void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, | ||
834 | const ASN1_OCTET_STRING **pdigest); | ||
835 | void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, | ||
836 | ASN1_OCTET_STRING **pdigest); | ||
837 | #endif | ||
838 | |||
832 | X509_REQ_INFO *X509_REQ_INFO_new(void); | 839 | X509_REQ_INFO *X509_REQ_INFO_new(void); |
833 | void X509_REQ_INFO_free(X509_REQ_INFO *a); | 840 | void X509_REQ_INFO_free(X509_REQ_INFO *a); |
834 | X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a, const unsigned char **in, long len); | 841 | X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a, const unsigned char **in, long len); |