From e481eacf569f91815864c3044a162a7555c65e2c Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 5 Oct 2022 21:16:14 +0000 Subject: [PATCH] unwrap two lines for readability --- lib/libssl/bio_ssl.c | 8 +++----- 1 file 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); -- 2.20.1