diff options
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 0dbc7b3707..938139e18e 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.186 2018/08/24 20:30:21 tb Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.187 2018/08/30 16:56: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 | * |
@@ -809,7 +809,7 @@ SSL_pending(const SSL *s) | |||
809 | * (Note that SSL_pending() is often used as a boolean value, | 809 | * (Note that SSL_pending() is often used as a boolean value, |
810 | * so we'd better not return -1.) | 810 | * so we'd better not return -1.) |
811 | */ | 811 | */ |
812 | return (s->method->internal->ssl_pending(s)); | 812 | return (ssl3_pending(s)); |
813 | } | 813 | } |
814 | 814 | ||
815 | X509 * | 815 | X509 * |
@@ -1015,10 +1015,10 @@ SSL_shutdown(SSL *s) | |||
1015 | return (-1); | 1015 | return (-1); |
1016 | } | 1016 | } |
1017 | 1017 | ||
1018 | if ((s != NULL) && !SSL_in_init(s)) | 1018 | if (s != NULL && !SSL_in_init(s)) |
1019 | return (s->method->internal->ssl_shutdown(s)); | 1019 | return (ssl3_shutdown(s)); |
1020 | else | 1020 | |
1021 | return (1); | 1021 | return (1); |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | int | 1024 | int |