diff options
Diffstat (limited to 'src/lib/libssl/s23_lib.c')
-rw-r--r-- | src/lib/libssl/s23_lib.c | 30 |
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 | ||
69 | int | 69 | int |
70 | ssl23_num_ciphers(void) | ||
71 | { | ||
72 | return (ssl3_num_ciphers()); | ||
73 | } | ||
74 | |||
75 | const SSL_CIPHER * | ||
76 | ssl23_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 */ | ||
88 | const SSL_CIPHER * | ||
89 | ssl23_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 | |||
97 | int | ||
98 | ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) | 70 | ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) |
99 | { | 71 | { |
100 | long l; | 72 | long l; |