Fix some dependencies in tests

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-18 18:54:01 +02:00
parent 92e5b59355
commit 387a211fad
13 changed files with 39 additions and 16 deletions

View file

@ -255,7 +255,7 @@ static int pk_get_rsapubkey( unsigned char **p,
POLARSSL_ERR_ASN1_LENGTH_MISMATCH );
if( ( ret = rsa_check_pubkey( rsa ) ) != 0 )
return( ret );
return( POLARSSL_ERR_PK_INVALID_PUBKEY );
rsa->len = mpi_size( &rsa->N );