Fix Windows build.

Now that 11c0f8e54c has landed, none of
the cases of the switch in |ssl3_ctrl| ever break and so the “return 1”
at the end of the function is unreachable. MSVC is unhappy about that.

Change-Id: I001dc63831ba60d93b622ac095297e2febc5f078
This commit is contained in:
Adam Langley 2015-07-06 19:01:48 -07:00
parent f3cdc5030e
commit 6df1ac9092

View File

@ -467,8 +467,6 @@ long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) {
default: default:
return 0; return 0;
} }
return 1;
} }
int SSL_CTX_set_tlsext_servername_callback( int SSL_CTX_set_tlsext_servername_callback(