Remove a few dead stores

This commit is contained in:
Paul Bakker 2014-07-07 16:00:26 +02:00
parent d220f8b709
commit 7837026b91
4 changed files with 1 additions and 5 deletions

View file

@ -105,7 +105,7 @@ int block_cipher_df( unsigned char *output,
unsigned char tmp[CTR_DRBG_SEEDLEN];
unsigned char key[CTR_DRBG_KEYSIZE];
unsigned char chain[CTR_DRBG_BLOCKSIZE];
unsigned char *p = buf, *iv;
unsigned char *p, *iv;
aes_context aes_ctx;
int i, j, buf_len, use_len;

View file

@ -900,7 +900,6 @@ int rsa_rsassa_pss_sign( rsa_context *ctx,
md_free_ctx( &md_ctx );
msb = mpi_msb( &ctx->N ) - 1;
sig[0] &= 0xFF >> ( olen * 8 - msb );
p += hlen;

View file

@ -1000,7 +1000,6 @@ static int ssl_encrypt_buf( ssl_context *ssl )
int ret = POLARSSL_ERR_SSL_FEATURE_UNAVAILABLE;
padlen = 0;
enc_msglen = ssl->out_msglen;
memcpy( add_data, ssl->out_ctr, 8 );
add_data[8] = ssl->out_msgtype;

View file

@ -1155,8 +1155,6 @@ int x509parse_crt_der_core( x509_cert *crt, const unsigned char *buf,
memcpy( p, buf, buflen );
buflen = 0;
crt->raw.p = p;
crt->raw.len = len;
end = p + len;