diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-02-03 14:53:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-02-03 16:47:57 +0000 |
commit | 3d47c1d331fdc7574d2275cda1a630ccdb624b08 (patch) | |
tree | 92a6d3302d7aba135b1e5b7f7bf8167df504a383 /ssl | |
parent | dfb56425b68314b2b57e17c82c1df42e7a015132 (diff) |
Remove unused variables.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_enc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index ff6273f150..a432dca8c3 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -1062,8 +1062,6 @@ int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, int len) { unsigned char buff[SSL_MAX_MASTER_KEY_LENGTH]; - const void *co = NULL, *so = NULL; - int col = 0, sol = 0; #ifdef KSSL_DEBUG fprintf(stderr, "tls1_generate_master_secret(%p,%p, %p, %d)\n", s, out, p, @@ -1092,18 +1090,18 @@ int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, TLS_MD_EXTENDED_MASTER_SECRET_CONST, TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE, hash, hashlen, - co, col, NULL, 0, - so, sol, p, len, s->session->master_key, buff, sizeof buff); + NULL, 0, + NULL, 0, p, len, s->session->master_key, buff, sizeof buff); OPENSSL_cleanse(hash, hashlen); } else { tls1_PRF(ssl_get_algorithm2(s), TLS_MD_MASTER_SECRET_CONST, TLS_MD_MASTER_SECRET_CONST_SIZE, s->s3->client_random, SSL3_RANDOM_SIZE, - co, col, + NULL, 0, s->s3->server_random, SSL3_RANDOM_SIZE, - so, sol, p, len, s->session->master_key, buff, sizeof buff); + NULL, 0, p, len, s->session->master_key, buff, sizeof buff); } #ifdef SSL_DEBUG fprintf(stderr, "Premaster Secret:\n"); |