Fossil

Check-in [0681b39b]
Login

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

Overview
Comment:Fix harmless compiler warning
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0681b39b824625718c77a9f5ba9edf6a01000fdf
User & Date: jan.nijtmans 2014-02-08 08:54:48
Context
2014-02-11
04:53
Update the built-in SQLite to the version 3.8.3.1 release candidate. check-in: 34aef781 user: drh tags: trunk
04:36
Used the wrong sqlite3.c source file. Was: Update the built-in SQLite to the 3.8.3.1 release candidate. This is moving backwards, slightly. But it is important for testing SQLite. Closed-Leaf check-in: 2324f475 user: drh tags: mistake
2014-02-09
17:14
merge trunk Closed-Leaf check-in: 78862afd user: jan.nijtmans tags: prevent-adding-ignored-files
2014-02-08
08:54
Fix harmless compiler warning check-in: 0681b39b user: jan.nijtmans tags: trunk
2014-02-07
15:52
fossil server: Output "Listening...port [p]" message when iPort==mnPort. check-in: 70218670 user: joel tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/http_ssl.c.

281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
    ssl_set_errmsg("SSL: cannot open SSL (%s)", 
                    ERR_reason_error_string(ERR_get_error()));
    return 1;
  }
  BIO_get_ssl(iBio, &ssl);

#if (SSLEAY_VERSION_NUMBER >= 0x00908070) && !defined(OPENSSL_NO_TLSEXT)
  if( !SSL_set_tlsext_host_name(ssl, pUrlData->useProxy?pUrlData->hostname:pUrlData->name) ){
    fossil_warning("WARNING: failed to set server name indication (SNI), "
                  "continuing without it.\n");
  }
#endif

  SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);








|







281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
    ssl_set_errmsg("SSL: cannot open SSL (%s)", 
                    ERR_reason_error_string(ERR_get_error()));
    return 1;
  }
  BIO_get_ssl(iBio, &ssl);

#if (SSLEAY_VERSION_NUMBER >= 0x00908070) && !defined(OPENSSL_NO_TLSEXT)
  if( !SSL_set_tlsext_host_name(ssl, (pUrlData->useProxy?pUrlData->hostname:pUrlData->name)) ){
    fossil_warning("WARNING: failed to set server name indication (SNI), "
                  "continuing without it.\n");
  }
#endif

  SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);