ssl_client2: fix default key opaque algs
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
488efa05b6
commit
1d25e076f3
@ -1725,12 +1725,12 @@ int main( int argc, char *argv[] )
|
||||
if( mbedtls_pk_get_type( &pkey ) == MBEDTLS_PK_ECKEY )
|
||||
{
|
||||
opt.key_opaque_alg1 = "ecdsa-sign";
|
||||
opt.key_opaque_alg2 = "ecdh";
|
||||
opt.key_opaque_alg2 = "none";
|
||||
}
|
||||
else
|
||||
{
|
||||
opt.key_opaque_alg1 = "rsa-sign-pkcs1";
|
||||
opt.key_opaque_alg2 = "none";
|
||||
opt.key_opaque_alg2 = "rsa-sign-pss";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user