aboutsummaryrefslogtreecommitdiff
path: root/lib/nss.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-06-19 05:42:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-06-19 05:42:45 +0000
commitc1e2341f0a9df2f93ffac00c8cb400fb3b29b207 (patch)
tree211cf01a4949b464f0c865206db4c70be7d1d9de /lib/nss.c
parent70d834c5122995399746d1f132c5306f82fd3fdb (diff)
s/strcasecmp/strequal to make it more portable
Diffstat (limited to 'lib/nss.c')
-rw-r--r--lib/nss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/nss.c b/lib/nss.c
index 39c716228..f3f5f6148 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -43,6 +43,7 @@
#include "strequal.h"
#include "select.h"
#include "sslgen.h"
+#include "strequal.h"
#define _MPRINTF_REPLACE /* use the internal *printf() functions */
#include <curl/mprintf.h>
@@ -203,7 +204,7 @@ static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model,
found = PR_FALSE;
for(i=0; i<ciphernum; i++) {
- if(!strcasecmp(cipher, cipherlist[i].name)) {
+ if(strequal(cipher, cipherlist[i].name)) {
cipher_state[i] = PR_TRUE;
found = PR_TRUE;
break;