diff options
author | 2014-04-17 23:35:40 +0000 | |
---|---|---|
committer | 2014-04-17 23:35:40 +0000 | |
commit | f0e3d361e796a38b9dab31804b567414edd0aa01 (patch) | |
tree | ef6708148a6ff227e1340da59b008e39ae6d9d59 /lib/libssl/src/ssl/ssl_lib.c | |
parent | Copy out all mbox registers after a mailbox operation completes. (diff) | |
download | wireguard-openbsd-f0e3d361e796a38b9dab31804b567414edd0aa01.tar.xz wireguard-openbsd-f0e3d361e796a38b9dab31804b567414edd0aa01.zip |
whack a bunch of disabled code. ok beck lteo
Diffstat (limited to 'lib/libssl/src/ssl/ssl_lib.c')
-rw-r--r-- | lib/libssl/src/ssl/ssl_lib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libssl/src/ssl/ssl_lib.c b/lib/libssl/src/ssl/ssl_lib.c index 37fff3a38fc..dc36747833d 100644 --- a/lib/libssl/src/ssl/ssl_lib.c +++ b/lib/libssl/src/ssl/ssl_lib.c @@ -197,18 +197,10 @@ SSL_clear(SSL *s) s->hit = 0; s->shutdown = 0; -#if 0 /* Disabled since version 1.10 of this file (early return not - * needed because SSL_clear is not called when doing renegotiation) */ - /* This is set if we are doing dynamic renegotiation so keep - * the old cipher. It is sort of a SSL_clear_lite :-) */ - if (s->renegotiate) - return (1); -#else if (s->renegotiate) { SSLerr(SSL_F_SSL_CLEAR, ERR_R_INTERNAL_ERROR); return 0; } -#endif s->type = 0; |