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:
parent
f3cdc5030e
commit
6df1ac9092
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user