summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_lib.c
diff options
context:
space:
mode:
authormiod <>2014-07-11 08:17:36 +0000
committermiod <>2014-07-11 08:17:36 +0000
commit86b5303a54b4edb30db98ef7e4449b166d992bb5 (patch)
treeab9b73426bba5da242022c216cdfb919c2be04cb /src/lib/libssl/s23_lib.c
parent22d34c2d8bc5e1aef79a43753b71073bff378ce9 (diff)
downloadopenbsd-86b5303a54b4edb30db98ef7e4449b166d992bb5.tar.gz
openbsd-86b5303a54b4edb30db98ef7e4449b166d992bb5.tar.bz2
openbsd-86b5303a54b4edb30db98ef7e4449b166d992bb5.zip
No need to keep ssl23_foo() flavours mapping to ssl3_foo().
ok tedu@
Diffstat (limited to 'src/lib/libssl/s23_lib.c')
-rw-r--r--src/lib/libssl/s23_lib.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/src/lib/libssl/s23_lib.c b/src/lib/libssl/s23_lib.c
index a879a637ea..643910be69 100644
--- a/src/lib/libssl/s23_lib.c
+++ b/src/lib/libssl/s23_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s23_lib.c,v 1.15 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: s23_lib.c,v 1.16 2014/07/11 08:17:36 miod 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 *
@@ -67,34 +67,6 @@ ssl23_default_timeout(void)
67} 67}
68 68
69int 69int
70ssl23_num_ciphers(void)
71{
72 return (ssl3_num_ciphers());
73}
74
75const SSL_CIPHER *
76ssl23_get_cipher(unsigned int u)
77{
78 unsigned int uu = ssl3_num_ciphers();
79
80 if (u < uu)
81 return (ssl3_get_cipher(u));
82 else
83 return (NULL);
84}
85
86/* This function needs to check if the ciphers required are actually
87 * available */
88const SSL_CIPHER *
89ssl23_get_cipher_by_char(const unsigned char *p)
90{
91 const SSL_CIPHER *cp;
92
93 cp = ssl3_get_cipher_by_char(p);
94 return (cp);
95}
96
97int
98ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) 70ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p)
99{ 71{
100 long l; 72 long l;