summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bio_ssl.c
diff options
context:
space:
mode:
authorjsg <>2025-06-02 12:18:22 +0000
committerjsg <>2025-06-02 12:18:22 +0000
commit0a9ae15841c7f994ec48b5317b89dbfe586ddcc7 (patch)
treece9d0de641519c3a435112363e783cc094829596 /src/lib/libssl/bio_ssl.c
parent660732fe44b595572e8605f5855d894ff2fa2a04 (diff)
downloadopenbsd-0a9ae15841c7f994ec48b5317b89dbfe586ddcc7.tar.gz
openbsd-0a9ae15841c7f994ec48b5317b89dbfe586ddcc7.tar.bz2
openbsd-0a9ae15841c7f994ec48b5317b89dbfe586ddcc7.zip
correct indentation, no functional change
found with smatch, ok tb@
Diffstat (limited to 'src/lib/libssl/bio_ssl.c')
-rw-r--r--src/lib/libssl/bio_ssl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c
index 6dd1699606..13e4f30539 100644
--- a/src/lib/libssl/bio_ssl.c
+++ b/src/lib/libssl/bio_ssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_ssl.c,v 1.40 2023/07/19 13:34:33 tb Exp $ */ 1/* $OpenBSD: bio_ssl.c,v 1.41 2025/06/02 12:18:22 jsg Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -229,9 +229,7 @@ ssl_write(BIO *b, const char *out, int outl)
229 229
230 BIO_clear_retry_flags(b); 230 BIO_clear_retry_flags(b);
231 231
232/* ret=SSL_do_handshake(ssl); 232 ret = SSL_write(ssl, out, outl);
233 if (ret > 0) */
234 ret = SSL_write(ssl, out, outl);
235 233
236 switch (SSL_get_error(ssl, ret)) { 234 switch (SSL_get_error(ssl, ret)) {
237 case SSL_ERROR_NONE: 235 case SSL_ERROR_NONE: