summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-10 10:09:54 +0000
committerjsing <jsing@openbsd.org>2014-07-10 10:09:54 +0000
commit17211dc3c17881438aa4de5506faa415c4604481 (patch)
tree4deebaed5140a8d776608056a25a9a4c7307b550 /lib/libssl/ssl_ciph.c
parentRemove DEBUG_KEYGEN and DEBUG_DECRYPT support. (diff)
downloadwireguard-openbsd-17211dc3c17881438aa4de5506faa415c4604481.tar.xz
wireguard-openbsd-17211dc3c17881438aa4de5506faa415c4604481.zip
Remove more compression related code.
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 05fa290edf5..bcd9b500f48 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.60 2014/07/10 09:26:08 jsing Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.61 2014/07/10 10:09:54 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -641,15 +641,6 @@ ssl_load_ciphers(void)
EVP_MD_size(ssl_digest_methods[SSL_MD_SHA384_IDX]);
}
-/* ssl_cipher_get_comp sets comp to the correct SSL_COMP for the given
- * session and returns 1. On error it returns 0. */
-int
-ssl_cipher_get_comp(const SSL_SESSION *s, SSL_COMP **comp)
-{
- *comp = NULL;
- return 1;
-}
-
int
ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc,
const EVP_MD **md, int *mac_pkey_type, int *mac_secret_size)