Commit 21e081b0 authored by Paul Bakker's avatar Paul Bakker

Prevent (incorrect) compiler warning

parent 1910aa78
......@@ -1005,7 +1005,7 @@ int rsa_rsassa_pkcs1_v15_sign( rsa_context *ctx,
{
size_t nb_pad, olen, oid_size = 0;
unsigned char *p = sig;
const char *oid;
const char *oid = NULL;
if( mode == RSA_PRIVATE && ctx->padding != RSA_PKCS_V15 )
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment