diff options
| author | tb <> | 2024-04-15 15:55:01 +0000 |
|---|---|---|
| committer | tb <> | 2024-04-15 15:55:01 +0000 |
| commit | e3aa83198f4718fdc7ffe6d92e086b932a4437d6 (patch) | |
| tree | e66b1df718cc5697054fb4fc487c1a991544ef2c /src | |
| parent | fd4066a78d7d353cca0845b810adcea3560a0ae5 (diff) | |
| download | openbsd-e3aa83198f4718fdc7ffe6d92e086b932a4437d6.tar.gz openbsd-e3aa83198f4718fdc7ffe6d92e086b932a4437d6.tar.bz2 openbsd-e3aa83198f4718fdc7ffe6d92e086b932a4437d6.zip | |
Bye, bye, OPENSSL_str{,n}casecmp()
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/Symbols.list | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/o_str.c | 21 |
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 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -69,7 +69,6 @@ SRCS+= malloc-wrapper.c | |||
| 69 | SRCS+= mem_clr.c | 69 | SRCS+= mem_clr.c |
| 70 | SRCS+= mem_dbg.c | 70 | SRCS+= mem_dbg.c |
| 71 | SRCS+= o_fips.c | 71 | SRCS+= o_fips.c |
| 72 | SRCS+= o_str.c | ||
| 73 | 72 | ||
| 74 | # aes/ | 73 | # aes/ |
| 75 | SRCS+= aes.c | 74 | SRCS+= 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 | |||
| 1707 | OPENSSL_load_builtin_modules | 1707 | OPENSSL_load_builtin_modules |
| 1708 | OPENSSL_no_config | 1708 | OPENSSL_no_config |
| 1709 | OPENSSL_posix_to_tm | 1709 | OPENSSL_posix_to_tm |
| 1710 | OPENSSL_strcasecmp | ||
| 1711 | OPENSSL_strncasecmp | ||
| 1712 | OPENSSL_timegm | 1710 | OPENSSL_timegm |
| 1713 | OPENSSL_tm_to_posix | 1711 | OPENSSL_tm_to_posix |
| 1714 | OPENSSL_uni2asc | 1712 | OPENSSL_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 | |||
| 8 | int OPENSSL_strcasecmp(const char *str1, const char *str2); | ||
| 9 | int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n); | ||
| 10 | |||
| 11 | int | ||
| 12 | OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n) | ||
| 13 | { | ||
| 14 | return strncasecmp(str1, str2, n); | ||
| 15 | } | ||
| 16 | |||
| 17 | int | ||
| 18 | OPENSSL_strcasecmp(const char *str1, const char *str2) | ||
| 19 | { | ||
| 20 | return strcasecmp(str1, str2); | ||
| 21 | } | ||
