diff options
author | tb <> | 2022-01-26 11:05:41 +0000 |
---|---|---|
committer | tb <> | 2022-01-26 11:05:41 +0000 |
commit | ef4163c71022252622690ad2766dde306d040571 (patch) | |
tree | 090c4842a9132ed7630b654972bbbe2fb9e6d033 /src | |
parent | eecff402bd661c944902fab78de734a5e191b015 (diff) | |
download | openbsd-ef4163c71022252622690ad2766dde306d040571.tar.gz openbsd-ef4163c71022252622690ad2766dde306d040571.tar.bz2 openbsd-ef4163c71022252622690ad2766dde306d040571.zip |
whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/s3_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index 39a4682d10..d5a53565f8 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_lib.c,v 1.224 2022/01/08 12:43:44 jsing Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.225 2022/01/26 11:05:41 tb 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 | * |
@@ -2618,10 +2618,10 @@ ssl3_shutdown(SSL *s) | |||
2618 | ssl3_send_alert(s, SSL3_AL_WARNING, SSL_AD_CLOSE_NOTIFY); | 2618 | ssl3_send_alert(s, SSL3_AL_WARNING, SSL_AD_CLOSE_NOTIFY); |
2619 | /* | 2619 | /* |
2620 | * Our shutdown alert has been sent now, and if it still needs | 2620 | * Our shutdown alert has been sent now, and if it still needs |
2621 | * to be written, S3I(s)->alert_dispatch will be true | 2621 | * to be written, S3I(s)->alert_dispatch will be true |
2622 | */ | 2622 | */ |
2623 | if (S3I(s)->alert_dispatch) | 2623 | if (S3I(s)->alert_dispatch) |
2624 | return(-1); /* return WANT_WRITE */ | 2624 | return (-1); /* return WANT_WRITE */ |
2625 | } else if (S3I(s)->alert_dispatch) { | 2625 | } else if (S3I(s)->alert_dispatch) { |
2626 | /* resend it if not sent */ | 2626 | /* resend it if not sent */ |
2627 | ret = ssl3_dispatch_alert(s); | 2627 | ret = ssl3_dispatch_alert(s); |
@@ -2638,7 +2638,7 @@ ssl3_shutdown(SSL *s) | |||
2638 | /* If we are waiting for a close from our peer, we are closed */ | 2638 | /* If we are waiting for a close from our peer, we are closed */ |
2639 | s->method->ssl_read_bytes(s, 0, NULL, 0, 0); | 2639 | s->method->ssl_read_bytes(s, 0, NULL, 0, 0); |
2640 | if (!(s->internal->shutdown & SSL_RECEIVED_SHUTDOWN)) { | 2640 | if (!(s->internal->shutdown & SSL_RECEIVED_SHUTDOWN)) { |
2641 | return(-1); /* return WANT_READ */ | 2641 | return (-1); /* return WANT_READ */ |
2642 | } | 2642 | } |
2643 | } | 2643 | } |
2644 | 2644 | ||