Bug 1415795 - revert name change of NSS API, r=ttaubert
authorFranziskus Kiefer <franziskuskiefer@gmail.com>
Thu, 09 Nov 2017 13:02:07 +0100
changeset 444252 af86f905265d01c9b908f3095a985dbf220f00e6
parent 444251 dba231450e1ead2ac8760573f385848f706f39a8
child 444253 40444386933a58ff76502f11863784a87ea0996a
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs1415795
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1415795 - revert name change of NSS API, r=ttaubert MozReview-Commit-ID: Jj72zkfaRh
security/manager/ssl/nsNSSIOLayer.cpp
--- a/security/manager/ssl/nsNSSIOLayer.cpp
+++ b/security/manager/ssl/nsNSSIOLayer.cpp
@@ -2600,17 +2600,17 @@ nsSSLIOLayerSetOptions(PRFileDesc* fd, b
                fd, versionFlags));
     }
   }
 
   // enabling alternative handshake
   if (getTLSProviderFlagAltHandshake(infoObject->GetProviderTlsFlags())) {
     MOZ_LOG(gPIPNSSLog, LogLevel::Debug,
             ("[%p] nsSSLIOLayerSetOptions: Use AltHandshake\n", fd));
-    if (SECSuccess != SSL_UseAltHandshakeType(fd, PR_TRUE)) {
+    if (SECSuccess != SSL_UseAltServerHelloType(fd, PR_TRUE)) {
           MOZ_LOG(gPIPNSSLog, LogLevel::Error,
                   ("[%p] nsSSLIOLayerSetOptions: Use AltHandshake failed\n", fd));
           // continue on default path
     }
   }
 
   if ((infoObject->GetProviderFlags() & nsISocketProvider::BE_CONSERVATIVE) &&
       (range.max > SSL_LIBRARY_VERSION_TLS_1_2)) {