summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-05-11 18:59:39 +0000
committertb <>2024-05-11 18:59:39 +0000
commita17d8d5af51b27662d2fe5622dc73f73b051250a (patch)
treebe352a0eb4c6fc23562776b7aad9e9502155bc76 /src
parentba35bf8972498839346039bd971a861b500e308f (diff)
downloadopenbsd-a17d8d5af51b27662d2fe5622dc73f73b051250a.tar.gz
openbsd-a17d8d5af51b27662d2fe5622dc73f73b051250a.tar.bz2
openbsd-a17d8d5af51b27662d2fe5622dc73f73b051250a.zip
Move X509V3_add_standard_extensions out of the way
This function is only used by OpenLDAP and it's been a noop since forever. It has no business to be squeezed in between a number of other, quite unrelated functions. It's distracting.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509_lib.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c
index 45ed9405fd..578f55ec55 100644
--- a/src/lib/libcrypto/x509/x509_lib.c
+++ b/src/lib/libcrypto/x509/x509_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lib.c,v 1.19 2024/05/11 18:52:52 tb Exp $ */ 1/* $OpenBSD: x509_lib.c,v 1.20 2024/05/11 18:59:39 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -161,13 +161,6 @@ X509V3_EXT_get(X509_EXTENSION *ext)
161} 161}
162LCRYPTO_ALIAS(X509V3_EXT_get); 162LCRYPTO_ALIAS(X509V3_EXT_get);
163 163
164int
165X509V3_add_standard_extensions(void)
166{
167 return 1;
168}
169LCRYPTO_ALIAS(X509V3_add_standard_extensions);
170
171/* Return an extension internal structure */ 164/* Return an extension internal structure */
172 165
173void * 166void *
@@ -332,3 +325,10 @@ err:
332 return 0; 325 return 0;
333} 326}
334LCRYPTO_ALIAS(X509V3_add1_i2d); 327LCRYPTO_ALIAS(X509V3_add1_i2d);
328
329int
330X509V3_add_standard_extensions(void)
331{
332 return 1;
333}
334LCRYPTO_ALIAS(X509V3_add_standard_extensions);