diff options
author | tb <> | 2024-05-11 18:59:39 +0000 |
---|---|---|
committer | tb <> | 2024-05-11 18:59:39 +0000 |
commit | a17d8d5af51b27662d2fe5622dc73f73b051250a (patch) | |
tree | be352a0eb4c6fc23562776b7aad9e9502155bc76 /src | |
parent | ba35bf8972498839346039bd971a861b500e308f (diff) | |
download | openbsd-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.c | 16 |
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 | } |
162 | LCRYPTO_ALIAS(X509V3_EXT_get); | 162 | LCRYPTO_ALIAS(X509V3_EXT_get); |
163 | 163 | ||
164 | int | ||
165 | X509V3_add_standard_extensions(void) | ||
166 | { | ||
167 | return 1; | ||
168 | } | ||
169 | LCRYPTO_ALIAS(X509V3_add_standard_extensions); | ||
170 | |||
171 | /* Return an extension internal structure */ | 164 | /* Return an extension internal structure */ |
172 | 165 | ||
173 | void * | 166 | void * |
@@ -332,3 +325,10 @@ err: | |||
332 | return 0; | 325 | return 0; |
333 | } | 326 | } |
334 | LCRYPTO_ALIAS(X509V3_add1_i2d); | 327 | LCRYPTO_ALIAS(X509V3_add1_i2d); |
328 | |||
329 | int | ||
330 | X509V3_add_standard_extensions(void) | ||
331 | { | ||
332 | return 1; | ||
333 | } | ||
334 | LCRYPTO_ALIAS(X509V3_add_standard_extensions); | ||