diff options
author | 2017-08-28 17:36:58 +0000 | |
---|---|---|
committer | 2017-08-28 17:36:58 +0000 | |
commit | 28251c7fcd654a627f2f389013758146fbe86094 (patch) | |
tree | 4a8b6df29514d2a1e9299baa50b9f85e4077f5bf /lib/libssl/ssl_lib.c | |
parent | No need for pretty_print_classless() to use (diff) | |
download | wireguard-openbsd-28251c7fcd654a627f2f389013758146fbe86094.tar.xz wireguard-openbsd-28251c7fcd654a627f2f389013758146fbe86094.zip |
Completely remove NPN remnants.
Based on a diff from doug@, similar diff from inoguchi@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r-- | lib/libssl/ssl_lib.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 46d905ad56d..b365ebd4966 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.168 2017/08/13 17:04:36 doug Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.169 2017/08/28 17:36:58 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1590,30 +1590,6 @@ found: return (status); } -/* SSL_get0_next_proto_negotiated is deprecated. */ -void -SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, - unsigned *len) -{ - *data = NULL; - *len = 0; -} - -/* SSL_CTX_set_next_protos_advertised_cb is deprecated. */ -void -SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *ctx, int (*cb) (SSL *ssl, - const unsigned char **out, unsigned int *outlen, void *arg), void *arg) -{ -} - -/* SSL_CTX_set_next_proto_select_cb is deprecated. */ -void -SSL_CTX_set_next_proto_select_cb(SSL_CTX *ctx, int (*cb) (SSL *s, - unsigned char **out, unsigned char *outlen, const unsigned char *in, - unsigned int inlen, void *arg), void *arg) -{ -} - /* * SSL_CTX_set_alpn_protos sets the ALPN protocol list to the specified * protocols, which must be in wire-format (i.e. a series of non-empty, |