diff options
| author | tb <> | 2024-01-13 11:18:52 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-13 11:18:52 +0000 |
| commit | a776f9106104843647e3e6c76f99313fc9ef7cd8 (patch) | |
| tree | e36e535ecc4e90ca6a4fea1e4b5388db32372c98 /src/lib/libcrypto/crypto_init.c | |
| parent | e1d9607d09fa3bd0137fb1cdc25ef0d35056755d (diff) | |
| download | openbsd-a776f9106104843647e3e6c76f99313fc9ef7cd8.tar.gz openbsd-a776f9106104843647e3e6c76f99313fc9ef7cd8.tar.bz2 openbsd-a776f9106104843647e3e6c76f99313fc9ef7cd8.zip | |
Stub out {OpenSSL,OPENSSL}_add*
These serve no purpose anymore (and really haven't for many years) but
will have to be kept since there's a number of software that still uses
them because many years ago they had to.
Relocate the stubs to crypto_init.c since library initialization's what
they were there for.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
| -rw-r--r-- | src/lib/libcrypto/crypto_init.c | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c index 440128fe4c..d598318503 100644 --- a/src/lib/libcrypto/crypto_init.c +++ b/src/lib/libcrypto/crypto_init.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto_init.c,v 1.15 2024/01/07 19:59:32 tb Exp $ */ | 1 | /* $OpenBSD: crypto_init.c,v 1.16 2024/01/13 11:18:52 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -91,3 +91,24 @@ OPENSSL_cleanup(void) | |||
| 91 | crypto_init_cleaned_up = 1; | 91 | crypto_init_cleaned_up = 1; |
| 92 | } | 92 | } |
| 93 | LCRYPTO_ALIAS(OPENSSL_cleanup); | 93 | LCRYPTO_ALIAS(OPENSSL_cleanup); |
| 94 | |||
| 95 | void | ||
| 96 | OpenSSL_add_all_ciphers(void) | ||
| 97 | { | ||
| 98 | } | ||
| 99 | |||
| 100 | void | ||
| 101 | OpenSSL_add_all_digests(void) | ||
| 102 | { | ||
| 103 | } | ||
| 104 | |||
| 105 | void | ||
| 106 | OPENSSL_add_all_algorithms_noconf(void) | ||
| 107 | { | ||
| 108 | } | ||
| 109 | |||
| 110 | void | ||
| 111 | OPENSSL_add_all_algorithms_conf(void) | ||
| 112 | { | ||
| 113 | OPENSSL_config(NULL); | ||
| 114 | } | ||
