diff options
author | mrcsys | 2006-02-22 13:29:29 +0000 |
---|---|---|
committer | mrcsys | 2006-02-22 13:29:29 +0000 |
commit | 64a7a36f6509fa8971f6ef84b0ed8d228f7baa66 (patch) | |
tree | f1ed09bcb3d1f6e8dcfd8a9da27494c29bbcc0dd /nanohttp | |
parent | e8c818d275896ef4adb5ed17ee45069dcb89d8fb (diff) | |
download | csoap-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.c | 2 |
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 */ |