summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/evp/evp_names.c13
-rw-r--r--src/lib/libcrypto/evp/names.c7
2 files changed, 13 insertions, 7 deletions
diff --git a/src/lib/libcrypto/evp/evp_names.c b/src/lib/libcrypto/evp/evp_names.c
index 660e23f66e..26e1df2f87 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.4 2024/01/13 11:12:32 tb Exp $ */ 1/* $OpenBSD: evp_names.c,v 1.5 2024/01/13 12:13:17 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -1760,3 +1760,14 @@ EVP_get_digestbyname(const char *name)
1760 1760
1761 return digest->digest(); 1761 return digest->digest();
1762} 1762}
1763
1764/*
1765 * XXX - this is here because most of its job was to clean up the dynamic
1766 * tables of ciphers and digests. If we get an evp_lib.c again, it should
1767 * probably move there.
1768 */
1769
1770void
1771EVP_cleanup(void)
1772{
1773}
diff --git a/src/lib/libcrypto/evp/names.c b/src/lib/libcrypto/evp/names.c
index a0b19917e1..7b5f6bad6c 100644
--- a/src/lib/libcrypto/evp/names.c
+++ b/src/lib/libcrypto/evp/names.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: names.c,v 1.29 2024/01/13 11:57:51 tb Exp $ */ 1/* $OpenBSD: names.c,v 1.30 2024/01/13 12:13:17 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 *
@@ -75,8 +75,3 @@ EVP_add_digest(const EVP_MD *md)
75{ 75{
76 return 1; 76 return 1;
77} 77}
78
79void
80EVP_cleanup(void)
81{
82}