summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509.h4
-rw-r--r--src/lib/libcrypto/x509/x509_req.c21
2 files changed, 2 insertions, 23 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);
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c
index 2565014972..704acbd897 100644
--- a/src/lib/libcrypto/x509/x509_req.c
+++ b/src/lib/libcrypto/x509/x509_req.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_req.c,v 1.42 2024/07/26 13:24:39 tb Exp $ */ 1/* $OpenBSD: x509_req.c,v 1.43 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 *
@@ -318,22 +318,3 @@ i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp)
318 return i2d_X509_REQ_INFO(req->req_info, pp); 318 return i2d_X509_REQ_INFO(req->req_info, pp);
319} 319}
320LCRYPTO_ALIAS(i2d_re_X509_REQ_tbs); 320LCRYPTO_ALIAS(i2d_re_X509_REQ_tbs);
321
322/*
323 * XXX - remove the API below in the next major bump
324 */
325
326int *
327X509_REQ_get_extension_nids(void)
328{
329 X509error(ERR_R_DISABLED);
330 return NULL;
331}
332LCRYPTO_ALIAS(X509_REQ_get_extension_nids);
333
334void
335X509_REQ_set_extension_nids(int *nids)
336{
337 X509error(ERR_R_DISABLED);
338}
339LCRYPTO_ALIAS(X509_REQ_set_extension_nids);