Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-09-10 03:43:29 +0400
committerDr. Stephen Henson <steve@openssl.org>2003-09-10 03:43:29 +0400
commitc61e45fba03ea5ba7b905c4bce974e510db263b6 (patch)
treea6336896047e6c3333fed89b2c385e819bfb1132 /crypto
parent7418027279b95b4c1d03ec3e53dccb23aa728aec (diff)
Update hashes. Fix a few typos in o_str.c
Diffstat (limited to 'crypto')
-rw-r--r--crypto/o_str.c3
-rw-r--r--crypto/o_str.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/o_str.c b/crypto/o_str.c
index 8bcdc25e76..174db3156e 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -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
diff --git a/crypto/o_str.h b/crypto/o_str.h
index 5535123abc..744a6e27d3 100644
--- a/crypto/o_str.h
+++ b/crypto/o_str.h
@@ -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