diff options
author | jsing <> | 2019-11-17 19:07:07 +0000 |
---|---|---|
committer | jsing <> | 2019-11-17 19:07:07 +0000 |
commit | 2e3ba6ffb663e8c3e72862f39176110970a03b64 (patch) | |
tree | 07a26b028fa8d925d1c9211f2dfb1cc3b83205c6 /src/lib/libssl/ssl_lib.c | |
parent | f27565e2fca9e66b5ba88b8f48a25a26acd61f88 (diff) | |
download | openbsd-2e3ba6ffb663e8c3e72862f39176110970a03b64.tar.gz openbsd-2e3ba6ffb663e8c3e72862f39176110970a03b64.tar.bz2 openbsd-2e3ba6ffb663e8c3e72862f39176110970a03b64.zip |
Bring back the ssl_shutdown internal method pointer.
For now ssl3_shutdown() is called in all cases, however TLSv1.3 will soon
get its own version.
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r-- | src/lib/libssl/ssl_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 32c1aef017..374342c311 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.206 2019/11/04 19:17:28 otto Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.207 2019/11/17 19:07:07 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 | * |
@@ -1012,7 +1012,7 @@ SSL_shutdown(SSL *s) | |||
1012 | } | 1012 | } |
1013 | 1013 | ||
1014 | if (s != NULL && !SSL_in_init(s)) | 1014 | if (s != NULL && !SSL_in_init(s)) |
1015 | return (ssl3_shutdown(s)); | 1015 | return (s->method->internal->ssl_shutdown(s)); |
1016 | 1016 | ||
1017 | return (1); | 1017 | return (1); |
1018 | } | 1018 | } |