summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/Makefile3
-rw-r--r--src/lib/libcrypto/Symbols.list2
-rw-r--r--src/lib/libcrypto/o_str.c21
3 files changed, 1 insertions, 25 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 7ed583fe4b..1e295d17ec 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.192 2024/03/29 07:36:38 jsing Exp $ 1# $OpenBSD: Makefile,v 1.193 2024/04/15 15:55:01 tb Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -69,7 +69,6 @@ SRCS+= malloc-wrapper.c
69SRCS+= mem_clr.c 69SRCS+= mem_clr.c
70SRCS+= mem_dbg.c 70SRCS+= mem_dbg.c
71SRCS+= o_fips.c 71SRCS+= o_fips.c
72SRCS+= o_str.c
73 72
74# aes/ 73# aes/
75SRCS+= aes.c 74SRCS+= aes.c
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list
index 3e7a32cf2f..aa3019905a 100644
--- a/src/lib/libcrypto/Symbols.list
+++ b/src/lib/libcrypto/Symbols.list
@@ -1707,8 +1707,6 @@ OPENSSL_init_crypto
1707OPENSSL_load_builtin_modules 1707OPENSSL_load_builtin_modules
1708OPENSSL_no_config 1708OPENSSL_no_config
1709OPENSSL_posix_to_tm 1709OPENSSL_posix_to_tm
1710OPENSSL_strcasecmp
1711OPENSSL_strncasecmp
1712OPENSSL_timegm 1710OPENSSL_timegm
1713OPENSSL_tm_to_posix 1711OPENSSL_tm_to_posix
1714OPENSSL_uni2asc 1712OPENSSL_uni2asc
diff --git a/src/lib/libcrypto/o_str.c b/src/lib/libcrypto/o_str.c
deleted file mode 100644
index f05889e4c8..0000000000
--- a/src/lib/libcrypto/o_str.c
+++ /dev/null
@@ -1,21 +0,0 @@
1/* $OpenBSD: o_str.c,v 1.9 2014/07/09 20:22:14 tedu Exp $ */
2/*
3 * Written by Theo de Raadt. Public domain.
4 */
5
6#include <string.h>
7
8int OPENSSL_strcasecmp(const char *str1, const char *str2);
9int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n);
10
11int
12OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
13{
14 return strncasecmp(str1, str2, n);
15}
16
17int
18OPENSSL_strcasecmp(const char *str1, const char *str2)
19{
20 return strcasecmp(str1, str2);
21}