diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-23 11:41:51 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-10-23 11:41:51 +0000 |
commit | bee2d9e3a58916a782432207f79fada365e788a3 (patch) | |
tree | 0a366087e7f8d77c8b78ae1d40e1cb07ccf2f0f6 /lib/libcrypto/x509/x509.h | |
parent | c9f71159978a06ff619754809636335f78741739 (diff) |
Prepare to provide X509_SIG_get{0,m}.
ok beck jsing
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r-- | lib/libcrypto/x509/x509.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h index 0d3b3abebc7..e8383d717c0 100644 --- a/lib/libcrypto/x509/x509.h +++ b/lib/libcrypto/x509/x509.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.h,v 1.79 2021/10/22 16:42:13 tb Exp $ */ +/* $OpenBSD: x509.h,v 1.80 2021/10/23 11:41:50 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -829,6 +829,13 @@ void X509_SIG_free(X509_SIG *a); X509_SIG *d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len); int i2d_X509_SIG(X509_SIG *a, unsigned char **out); extern const ASN1_ITEM X509_SIG_it; +#if defined(LIBRESSL_NEW_API) +void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, + const ASN1_OCTET_STRING **pdigest); +void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, + ASN1_OCTET_STRING **pdigest); +#endif + X509_REQ_INFO *X509_REQ_INFO_new(void); void X509_REQ_INFO_free(X509_REQ_INFO *a); X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a, const unsigned char **in, long len); |