summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
authorGravatar mrcsys2006-02-22 13:29:29 +0000
committerGravatar mrcsys2006-02-22 13:29:29 +0000
commit64a7a36f6509fa8971f6ef84b0ed8d228f7baa66 (patch)
treef1ed09bcb3d1f6e8dcfd8a9da27494c29bbcc0dd /nanohttp
parente8c818d275896ef4adb5ed17ee45069dcb89d8fb (diff)
downloadcsoap-64a7a36f6509fa8971f6ef84b0ed8d228f7baa66.tar.gz
csoap-64a7a36f6509fa8971f6ef84b0ed8d228f7baa66.tar.bz2
Fixed a small bug in reading (or not) a calist
Diffstat (limited to 'nanohttp')
-rw-r--r--nanohttp/nanohttp-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c
index cd18b97..63bf0f7 100644
--- a/nanohttp/nanohttp-ssl.c
+++ b/nanohttp/nanohttp-ssl.c
@@ -246,7 +246,7 @@ initialize_ctx (const char *keyfile, const char *password, const char *calist)
log_verbose1 ("Keyfile read ok");
}
- if (calist != NULL)
+ if (calist != NULL && *calist != '\0')
{
/* Load the CAs we trust */