aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/s23_lib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
committerBen Laurie <ben@openssl.org>2010-06-12 14:13:23 +0000
commitc8bbd98a2b0c2a5164c42f951cd2866512839b5a (patch)
treefe50b2de26e0f563ce0b21b88d80da407dbc7999 /ssl/s23_lib.c
parent57ae37a00388ca177d67d4cee8db167f7e27fc7c (diff)
downloadopenssl-c8bbd98a2b0c2a5164c42f951cd2866512839b5a.tar.gz
Fix warnings.
Diffstat (limited to 'ssl/s23_lib.c')
-rw-r--r--ssl/s23_lib.c7
1 files changed, 0 insertions, 7 deletions
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)