summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s23_lib.c')
-rw-r--r--src/lib/libssl/s23_lib.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/libssl/s23_lib.c b/src/lib/libssl/s23_lib.c
index e3fce53430..fc2981308d 100644
--- a/src/lib/libssl/s23_lib.c
+++ b/src/lib/libssl/s23_lib.c
@@ -65,6 +65,11 @@ long ssl23_default_timeout(void)
65 return(300); 65 return(300);
66 } 66 }
67 67
68IMPLEMENT_ssl23_meth_func(sslv23_base_method,
69 ssl_undefined_function,
70 ssl_undefined_function,
71 ssl_bad_method)
72
68int ssl23_num_ciphers(void) 73int ssl23_num_ciphers(void)
69 { 74 {
70 return(ssl3_num_ciphers() 75 return(ssl3_num_ciphers()
@@ -74,7 +79,7 @@ int ssl23_num_ciphers(void)
74 ); 79 );
75 } 80 }
76 81
77const SSL_CIPHER *ssl23_get_cipher(unsigned int u) 82SSL_CIPHER *ssl23_get_cipher(unsigned int u)
78 { 83 {
79 unsigned int uu=ssl3_num_ciphers(); 84 unsigned int uu=ssl3_num_ciphers();
80 85
@@ -90,10 +95,9 @@ const SSL_CIPHER *ssl23_get_cipher(unsigned int u)
90 95
91/* This function needs to check if the ciphers required are actually 96/* This function needs to check if the ciphers required are actually
92 * available */ 97 * available */
93const SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p) 98SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p)
94 { 99 {
95 SSL_CIPHER c; 100 SSL_CIPHER c,*cp;
96 const SSL_CIPHER *cp;
97 unsigned long id; 101 unsigned long id;
98 int n; 102 int n;
99 103