projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d834c
)
s/strcasecmp/strequal to make it more portable
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 19 Jun 2008 05:42:45 +0000
(
05:42
+0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 19 Jun 2008 05:42:45 +0000
(
05:42
+0000)
lib/nss.c
patch
|
blob
|
history
diff --git
a/lib/nss.c
b/lib/nss.c
index 39c716228fa51c63e2a105b09c990ffaec661bb8..f3f5f6148e0dc6aba487079c93c43cbacf798291 100644
(file)
--- 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;