summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-10-22 16:42:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-10-22 16:42:14 +0000
commit6fbbaa7bf3b457b290fb7ada7c66e4dfa2b1f0e8 (patch)
tree8d0e81f76db169db4fddb1e89f041fc748c86fc0 /lib/libcrypto/x509/x509.h
parent1a4159159c03d875ebc80036de69411e05072dbc (diff)
Prepare to provide X509_REQ_pubkey_get0()
ok jsing
Diffstat (limited to 'lib/libcrypto/x509/x509.h')
-rw-r--r--lib/libcrypto/x509/x509.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509.h b/lib/libcrypto/x509/x509.h
index d3b43679242..0d3b3abebc7 100644
--- a/lib/libcrypto/x509/x509.h
+++ b/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.h,v 1.78 2021/10/21 15:52:02 tb Exp $ */
+/* $OpenBSD: x509.h,v 1.79 2021/10/22 16:42:13 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1011,6 +1011,9 @@ int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
X509_NAME *X509_REQ_get_subject_name(const X509_REQ *x);
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req);
+#if defined(LIBRESSL_NEW_API)
+EVP_PKEY * X509_REQ_get0_pubkey(X509_REQ *req);
+#endif
int X509_REQ_extension_nid(int nid);
int * X509_REQ_get_extension_nids(void);
void X509_REQ_set_extension_nids(int *nids);