diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-04-07 17:02:35 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-04-07 17:02:35 +0000 |
commit | 73eacd1b7e620743c0e0bdba0989d0acfb9e5afa (patch) | |
tree | 9b8bc5b43fb1a239f8132ef6a070e358f9c23708 /lib/libssl/d1_clnt.c | |
parent | 24fcfc985317e1133b3873c6895127aafdc5acca (diff) |
Remove function pointers for ssl_{read,write,peek}.
Now that everything goes through the same code path, we can remove a layer
of indirection and just call ssl3_{read,write,peek} directly.
ok beck@ inoguchi@
Diffstat (limited to 'lib/libssl/d1_clnt.c')
-rw-r--r-- | lib/libssl/d1_clnt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/d1_clnt.c b/lib/libssl/d1_clnt.c index f3a7e5ff22a..ee0e620ad80 100644 --- a/lib/libssl/d1_clnt.c +++ b/lib/libssl/d1_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_clnt.c,v 1.79 2017/10/10 15:13:26 jsing Exp $ */ +/* $OpenBSD: d1_clnt.c,v 1.80 2018/04/07 17:02:34 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -136,9 +136,6 @@ static const SSL_METHOD_INTERNAL DTLSv1_client_method_internal_data = { .ssl_free = dtls1_free, .ssl_accept = ssl_undefined_function, .ssl_connect = ssl3_connect, - .ssl_read = ssl3_read, - .ssl_peek = ssl3_peek, - .ssl_write = ssl3_write, .ssl_shutdown = dtls1_shutdown, .ssl_pending = ssl3_pending, .get_ssl_method = dtls1_get_client_method, |