mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Reverse meaning of OID_CMP
This commit is contained in:
parent
852a6d3d8f
commit
6e0643762d
5 changed files with 9 additions and 11 deletions
|
|
@ -269,7 +269,7 @@ int x509_get_rsassa_pss_params( const x509_buf *params,
|
|||
return( ret );
|
||||
|
||||
/* Only MFG1 is recognised for now */
|
||||
if( ! OID_CMP( OID_MGF1, &alg_id ) )
|
||||
if( OID_CMP( OID_MGF1, &alg_id ) != 0 )
|
||||
return( POLARSSL_ERR_X509_FEATURE_UNAVAILABLE +
|
||||
POLARSSL_ERR_OID_NOT_FOUND );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue