summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/Symbols.list2
-rw-r--r--src/lib/libcrypto/evp/evp.h5
-rw-r--r--src/lib/libcrypto/evp/evp_names.c14
3 files changed, 2 insertions, 19 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list
index f9df2c28e7..2acd158dd6 100644
--- a/src/lib/libcrypto/Symbols.list
+++ b/src/lib/libcrypto/Symbols.list
@@ -1425,8 +1425,6 @@ EVP_SealFinal
1425EVP_SealInit 1425EVP_SealInit
1426EVP_SignFinal 1426EVP_SignFinal
1427EVP_VerifyFinal 1427EVP_VerifyFinal
1428EVP_add_cipher
1429EVP_add_digest
1430EVP_aead_aes_128_gcm 1428EVP_aead_aes_128_gcm
1431EVP_aead_aes_256_gcm 1429EVP_aead_aes_256_gcm
1432EVP_aead_chacha20_poly1305 1430EVP_aead_chacha20_poly1305
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 4acd9facbc..01d4907233 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.121 2024/02/18 15:47:48 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.122 2024/03/02 09:36:40 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 *
@@ -813,9 +813,6 @@ void OpenSSL_add_all_digests(void);
813#define SSLeay_add_all_ciphers() OpenSSL_add_all_ciphers() 813#define SSLeay_add_all_ciphers() OpenSSL_add_all_ciphers()
814#define SSLeay_add_all_digests() OpenSSL_add_all_digests() 814#define SSLeay_add_all_digests() OpenSSL_add_all_digests()
815 815
816int EVP_add_cipher(const EVP_CIPHER *cipher);
817int EVP_add_digest(const EVP_MD *digest);
818
819const EVP_CIPHER *EVP_get_cipherbyname(const char *name); 816const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
820const EVP_MD *EVP_get_digestbyname(const char *name); 817const EVP_MD *EVP_get_digestbyname(const char *name);
821void EVP_cleanup(void); 818void EVP_cleanup(void);
diff --git a/src/lib/libcrypto/evp/evp_names.c b/src/lib/libcrypto/evp/evp_names.c
index cf57a4aa56..a3af2ed1a6 100644
--- a/src/lib/libcrypto/evp/evp_names.c
+++ b/src/lib/libcrypto/evp/evp_names.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_names.c,v 1.8 2024/01/27 18:12:27 tb Exp $ */ 1/* $OpenBSD: evp_names.c,v 1.9 2024/03/02 09:36:40 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -1920,18 +1920,6 @@ EVP_cleanup(void)
1920 */ 1920 */
1921 1921
1922int 1922int
1923EVP_add_cipher(const EVP_CIPHER *c)
1924{
1925 return 1;
1926}
1927
1928int
1929EVP_add_digest(const EVP_MD *md)
1930{
1931 return 1;
1932}
1933
1934int
1935OBJ_NAME_init(void) 1923OBJ_NAME_init(void)
1936{ 1924{
1937 OBJerror(ERR_R_DISABLED); 1925 OBJerror(ERR_R_DISABLED);