summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/s23_lib.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-07-11 08:17:36 +0000
committermiod <miod@openbsd.org>2014-07-11 08:17:36 +0000
commita291cc4741ca3b12981e7a81e7dc235e167af133 (patch)
tree70d3010ad165b2b9895cb7088b438d2de9658750 /lib/libssl/src/ssl/s23_lib.c
parentPermit use of SYS_sendsyslog from inside the sandbox. Clock is ticking, (diff)
downloadwireguard-openbsd-a291cc4741ca3b12981e7a81e7dc235e167af133.tar.xz
wireguard-openbsd-a291cc4741ca3b12981e7a81e7dc235e167af133.zip
No need to keep ssl23_foo() flavours mapping to ssl3_foo().
ok tedu@
Diffstat (limited to 'lib/libssl/src/ssl/s23_lib.c')
-rw-r--r--lib/libssl/src/ssl/s23_lib.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/lib/libssl/src/ssl/s23_lib.c b/lib/libssl/src/ssl/s23_lib.c
index a879a637eac..643910be697 100644
--- a/lib/libssl/src/ssl/s23_lib.c
+++ b/lib/libssl/src/ssl/s23_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s23_lib.c,v 1.15 2014/06/12 15:49:31 deraadt Exp $ */
+/* $OpenBSD: s23_lib.c,v 1.16 2014/07/11 08:17:36 miod Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -67,34 +67,6 @@ ssl23_default_timeout(void)
}
int
-ssl23_num_ciphers(void)
-{
- return (ssl3_num_ciphers());
-}
-
-const SSL_CIPHER *
-ssl23_get_cipher(unsigned int u)
-{
- unsigned int uu = ssl3_num_ciphers();
-
- if (u < uu)
- return (ssl3_get_cipher(u));
- else
- return (NULL);
-}
-
-/* This function needs to check if the ciphers required are actually
- * available */
-const SSL_CIPHER *
-ssl23_get_cipher_by_char(const unsigned char *p)
-{
- const SSL_CIPHER *cp;
-
- cp = ssl3_get_cipher_by_char(p);
- return (cp);
-}
-
-int
ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p)
{
long l;