summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_pkt.c
diff options
context:
space:
mode:
authorjsing <>2020-08-09 16:54:16 +0000
committerjsing <>2020-08-09 16:54:16 +0000
commit83a0e43c1e4ba1d01aa994ce2a56e13e01d4822e (patch)
tree9d7e7404788e318cbc23299435b9bb472c7f7a8a /src/lib/libssl/ssl_pkt.c
parent713cc519c3b27eb70765c1e9427e0ef4fa30a43a (diff)
downloadopenbsd-83a0e43c1e4ba1d01aa994ce2a56e13e01d4822e.tar.gz
openbsd-83a0e43c1e4ba1d01aa994ce2a56e13e01d4822e.tar.bz2
openbsd-83a0e43c1e4ba1d01aa994ce2a56e13e01d4822e.zip
Fix some wrapping/indent.
Diffstat (limited to 'src/lib/libssl/ssl_pkt.c')
-rw-r--r--src/lib/libssl/ssl_pkt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_pkt.c b/src/lib/libssl/ssl_pkt.c
index da059915f2..5c9b3be2ff 100644
--- a/src/lib/libssl/ssl_pkt.c
+++ b/src/lib/libssl/ssl_pkt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_pkt.c,v 1.29 2020/08/09 16:02:58 jsing Exp $ */ 1/* $OpenBSD: ssl_pkt.c,v 1.30 2020/08/09 16:54:16 jsing 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 *
@@ -836,9 +836,8 @@ ssl3_write_pending(SSL *s, int type, const unsigned char *buf, unsigned int len)
836 errno = 0; 836 errno = 0;
837 if (s->wbio != NULL) { 837 if (s->wbio != NULL) {
838 s->internal->rwstate = SSL_WRITING; 838 s->internal->rwstate = SSL_WRITING;
839 i = BIO_write(s->wbio, 839 i = BIO_write(s->wbio, (char *)&(wb->buf[wb->offset]),
840 (char *)&(wb->buf[wb->offset]), 840 (unsigned int)wb->left);
841 (unsigned int)wb->left);
842 } else { 841 } else {
843 SSLerror(s, SSL_R_BIO_NOT_SET); 842 SSLerror(s, SSL_R_BIO_NOT_SET);
844 i = -1; 843 i = -1;