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 |
|
|
} |