aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-22 09:51:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-22 09:51:52 +0100
commit6572514ae544d69e71eb852ba9954211e8f81e27 (patch)
tree479674a99e1c7fd91325c453520137a72b7a36ff /lib
parentc8bfb9e58a2c166fdcf3db0ca72768c72fafe73c (diff)
parentabcea311e3b3178e8848e4da5acdf50afd89e4ce (diff)
Merge branch 'master' of github.com:bagder/curl
Diffstat (limited to 'lib')
-rw-r--r--lib/sslgen.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c
index 6707e0af6..4e88bba86 100644
--- a/lib/sslgen.c
+++ b/lib/sslgen.c
@@ -105,30 +105,40 @@ Curl_clone_ssl_config(struct ssl_config_data *source,
if(!dest->CAfile)
return FALSE;
}
+ else
+ dest->CAfile = NULL;
if(source->CApath) {
dest->CApath = strdup(source->CApath);
if(!dest->CApath)
return FALSE;
}
+ else
+ dest->CApath = NULL;
if(source->cipher_list) {
dest->cipher_list = strdup(source->cipher_list);
if(!dest->cipher_list)
return FALSE;
}
+ else
+ dest->cipher_list = NULL;
if(source->egdsocket) {
dest->egdsocket = strdup(source->egdsocket);
if(!dest->egdsocket)
return FALSE;
}
+ else
+ dest->egdsocket = NULL;
if(source->random_file) {
dest->random_file = strdup(source->random_file);
if(!dest->random_file)
return FALSE;
}
+ else
+ dest->random_file = NULL;
return TRUE;
}