mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-12 10:13:39 +00:00
Prevent (incorrect) compiler warning
This commit is contained in:
parent
1910aa78a3
commit
21e081b068
@ -1005,7 +1005,7 @@ int rsa_rsassa_pkcs1_v15_sign( rsa_context *ctx,
|
|||||||
{
|
{
|
||||||
size_t nb_pad, olen, oid_size = 0;
|
size_t nb_pad, olen, oid_size = 0;
|
||||||
unsigned char *p = sig;
|
unsigned char *p = sig;
|
||||||
const char *oid;
|
const char *oid = NULL;
|
||||||
|
|
||||||
if( mode == RSA_PRIVATE && ctx->padding != RSA_PKCS_V15 )
|
if( mode == RSA_PRIVATE && ctx->padding != RSA_PKCS_V15 )
|
||||||
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user