Bug 1277569, follow-up to make it work. r=franziskus NSS_3_25_BETA1
authorKai Engert <kaie@kuix.de>
Thu, 02 Jun 2016 19:34:18 +0200
changeset 12239 bdf702cc0f766757d8221b1bb9a8a5a12f0183da
parent 12238 e7bc5b1992d4dc6699ecd216081f22f31d49ae31
child 12240 94f60a6ece293ef4614b22185697e18a9e21d74c
push id1289
push userkaie@kuix.de
push dateThu, 02 Jun 2016 17:34:26 +0000
reviewersfranziskus
bugs1277569
Bug 1277569, follow-up to make it work. r=franziskus
lib/ssl/sslsock.c
--- a/lib/ssl/sslsock.c
+++ b/lib/ssl/sslsock.c
@@ -1094,17 +1094,17 @@ SSL_OptionSetDefault(PRInt32 which, PRBo
         case SSL_ENABLE_SSL2:
         case SSL_V2_COMPATIBLE_HELLO:
             /* We no longer support SSL v2.
              * However, if an old application requests to disable SSL v2,
              * we shouldn't fail.
              */
             if (on) {
                 PORT_SetError(SEC_ERROR_INVALID_ARGS);
-                rv = SECFailure;
+                return SECFailure;
             }
             break;
 
         case SSL_NO_CACHE:
             ssl_defaults.noCache = on;
             break;
 
         case SSL_ENABLE_FDX: