Fossil SCM
Comparison typo.
Commit
624bc1c66283914f39e1a2f122b328863407dae7
Parent
ee59ca74b8b8991…
1 file changed
+1
-1
+1
-1
| --- src/http_ssl.c | ||
| +++ src/http_ssl.c | ||
| @@ -113,11 +113,11 @@ | ||
| 113 | 113 | to load the system store automatically */ |
| 114 | 114 | #endif |
| 115 | 115 | system_store = db_get("certificate-bundle", detected_store); |
| 116 | 116 | if(system_store != NULL) { |
| 117 | 117 | SSL_CTX_load_verify_locations(sslCtx, system_store, NULL); |
| 118 | - if(detected_store != NULL) { | |
| 118 | + if(detected_store == NULL) { | |
| 119 | 119 | free(system_store); |
| 120 | 120 | } |
| 121 | 121 | } |
| 122 | 122 | sslIsInit = 1; |
| 123 | 123 | } |
| 124 | 124 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -113,11 +113,11 @@ | |
| 113 | to load the system store automatically */ |
| 114 | #endif |
| 115 | system_store = db_get("certificate-bundle", detected_store); |
| 116 | if(system_store != NULL) { |
| 117 | SSL_CTX_load_verify_locations(sslCtx, system_store, NULL); |
| 118 | if(detected_store != NULL) { |
| 119 | free(system_store); |
| 120 | } |
| 121 | } |
| 122 | sslIsInit = 1; |
| 123 | } |
| 124 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -113,11 +113,11 @@ | |
| 113 | to load the system store automatically */ |
| 114 | #endif |
| 115 | system_store = db_get("certificate-bundle", detected_store); |
| 116 | if(system_store != NULL) { |
| 117 | SSL_CTX_load_verify_locations(sslCtx, system_store, NULL); |
| 118 | if(detected_store == NULL) { |
| 119 | free(system_store); |
| 120 | } |
| 121 | } |
| 122 | sslIsInit = 1; |
| 123 | } |
| 124 |