mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
selftest supports cmac if only MBEDTLS_DES_C is defined
Other minor typo fixes
This commit is contained in:
committed by
Simon Butcher
parent
9044b0295c
commit
57863ad7ed
@ -278,7 +278,7 @@ int main( int argc, char *argv[] )
|
||||
suites_tested++;
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_CMAC_C) && defined(MBEDTLS_AES_C)
|
||||
#if defined(MBEDTLS_CMAC_C) && ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) )
|
||||
if( ( ret = mbedtls_cmac_self_test( v ) ) != 0 )
|
||||
return( ret );
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user