diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-10-05 21:16:15 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-10-05 21:16:15 +0000 |
commit | 5221852c45a7e231c4fe9d58551aff2754d5bf8a (patch) | |
tree | 5788b0eab67b488383e7007dacbbbbbbfd9d8cbf /lib | |
parent | 46e6d8bcba28417d1056200d9018ad7dfec65665 (diff) |
unwrap two lines for readability
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/bio_ssl.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libssl/bio_ssl.c b/lib/libssl/bio_ssl.c index e78bbc18511..04dd22f16de 100644 --- a/lib/libssl/bio_ssl.c +++ b/lib/libssl/bio_ssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_ssl.c,v 1.34 2022/10/02 16:36:41 jsing Exp $ */ +/* $OpenBSD: bio_ssl.c,v 1.35 2022/10/05 21:16:14 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -294,11 +294,9 @@ ssl_ctrl(BIO *b, int cmd, long num, void *ptr) case BIO_CTRL_RESET: SSL_shutdown(ssl); - if (ssl->handshake_func == - ssl->method->ssl_connect) + if (ssl->handshake_func == ssl->method->ssl_connect) SSL_set_connect_state(ssl); - else if (ssl->handshake_func == - ssl->method->ssl_accept) + else if (ssl->handshake_func == ssl->method->ssl_accept) SSL_set_accept_state(ssl); SSL_clear(ssl); |