summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authortb <>2024-08-31 10:16:52 +0000
committertb <>2024-08-31 10:16:52 +0000
commit99f27f8fcbed150dc32592e175dace35b25a3ebf (patch)
tree621422217196e1ab46333fafca3f2586d119360b /src/lib/libcrypto/x509/x509.h
parent6482491f029372b695a946d7c56e8a6f79c45972 (diff)
downloadopenbsd-99f27f8fcbed150dc32592e175dace35b25a3ebf.tar.gz
openbsd-99f27f8fcbed150dc32592e175dace35b25a3ebf.tar.bz2
openbsd-99f27f8fcbed150dc32592e175dace35b25a3ebf.zip
Remove X509_REQ_{set,get}_extension_nids()
LibreSSL no longer supports non-standard OIDs for use in the extensions attribute of CSRs. The API that enabled that (and nobody used of course) can now go. ok beck jsing
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 6fcd59a852..bcae39aa52 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.115 2024/08/31 10:14:17 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.116 2024/08/31 10:16:52 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 *
@@ -721,8 +721,6 @@ EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req);
721int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp); 721int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
722EVP_PKEY * X509_REQ_get0_pubkey(X509_REQ *req); 722EVP_PKEY * X509_REQ_get0_pubkey(X509_REQ *req);
723int X509_REQ_extension_nid(int nid); 723int X509_REQ_extension_nid(int nid);
724int * X509_REQ_get_extension_nids(void);
725void X509_REQ_set_extension_nids(int *nids);
726STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req); 724STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req);
727int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, 725int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
728 int nid); 726 int nid);