X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs23_lib.c;h=3bf728318a4cec530eb25d41b05e7b83cebe817b;hp=e3fce5343043373bd19b5b6fe4a0cd9f7acc0f20;hb=5f8e9a477a18551052f2019c1f374061acbaa5e6;hpb=babb379849ffb4112792f266f92e9ebb2bd35332 diff --git a/ssl/s23_lib.c b/ssl/s23_lib.c index e3fce53430..3bf728318a 100644 --- a/ssl/s23_lib.c +++ b/ssl/s23_lib.c @@ -92,15 +92,8 @@ const SSL_CIPHER *ssl23_get_cipher(unsigned int u) * available */ const SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p) { - SSL_CIPHER c; const SSL_CIPHER *cp; - unsigned long id; - int n; - n=ssl3_num_ciphers(); - id=0x03000000|((unsigned long)p[0]<<16L)| - ((unsigned long)p[1]<<8L)|(unsigned long)p[2]; - c.id=id; cp=ssl3_get_cipher_by_char(p); #ifndef OPENSSL_NO_SSL2 if (cp == NULL)