Fossil

Check-in [624bc1c6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Comparison typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | ssl_platform_fixes
Files: files | file ages | folders
SHA1:624bc1c66283914f39e1a2f122b328863407dae7
User & Date: linuxfood 2010-03-21 22:42:33
Context
2010-03-21
22:42
Comparison typo. Leaf check-in: 624bc1c6 user: linuxfood tags: ssl_platform_fixes
22:38
Fix case when trying to free a non-malloced pointer. check-in: ee59ca74 user: linuxfood tags: ssl_platform_fixes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/http_ssl.c.

111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#elif defined(__APPLE__)
    /* No action necessary, OpenSSL on OS X appears
       to load the system store automatically */
#endif
    system_store = db_get("certificate-bundle", detected_store);
    if(system_store != NULL) {
      SSL_CTX_load_verify_locations(sslCtx, system_store, NULL);
      if(detected_store != NULL) {
        free(system_store);
      }
    }
    sslIsInit = 1;
  }
}








|







111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#elif defined(__APPLE__)
    /* No action necessary, OpenSSL on OS X appears
       to load the system store automatically */
#endif
    system_store = db_get("certificate-bundle", detected_store);
    if(system_store != NULL) {
      SSL_CTX_load_verify_locations(sslCtx, system_store, NULL);
      if(detected_store == NULL) {
        free(system_store);
      }
    }
    sslIsInit = 1;
  }
}