diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 1dd518d0b8..629ad03554 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_lib.c,v 1.104 2015/06/28 00:08:27 doug Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.105 2015/07/19 20:32:18 doug 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 | * |
@@ -2825,6 +2825,9 @@ ssl_init_wbio_buffer(SSL *s, int push) | |||
2825 | void | 2825 | void |
2826 | ssl_free_wbio_buffer(SSL *s) | 2826 | ssl_free_wbio_buffer(SSL *s) |
2827 | { | 2827 | { |
2828 | if (s == NULL) | ||
2829 | return; | ||
2830 | |||
2828 | if (s->bbio == NULL) | 2831 | if (s->bbio == NULL) |
2829 | return; | 2832 | return; |
2830 | 2833 | ||