提交 82384690 编写于 作者: D Dr. Stephen Henson

Typos.

上级 e6fa67fa
......@@ -57,6 +57,7 @@
*/
#include <o_str.h>
#include <openssl/e_os2.h>
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
{
......@@ -87,7 +88,7 @@ int OPENSSL_strcasecmp(const char *str1, const char *str2)
#if defined(OPENSSL_SYS_VMS)
return OSSL_strncasecmp(str1, str2, (size_t)-1);
#elif defined(OPENSSL_SYS_WINDOWS)
return _stricmp(str1, str2, n);
return _stricmp(str1, str2);
#else
return strcasecmp(str1, str2);
#endif
......
......@@ -62,6 +62,6 @@
#include <string.h>
int OPENSSL_strcasecmp(const char *str1, const char *str2);
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n)
int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册