mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-10 02:22:14 +00:00
Fix 2 endif comments
Two endif comments didn't match the ifdef. Fix these to match. Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
parent
12ca50307f
commit
8107e31b74
|
@ -5098,7 +5098,7 @@ static psa_status_t psa_generate_derived_key_internal(
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES)
|
#if defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES)
|
||||||
if( slot->attr.type == PSA_KEY_TYPE_DES )
|
if( slot->attr.type == PSA_KEY_TYPE_DES )
|
||||||
psa_des_set_key_parity( data, bytes );
|
psa_des_set_key_parity( data, bytes );
|
||||||
#endif /* PSA_WANT_KEY_TYPE_DES */
|
#endif /* MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES */
|
||||||
|
|
||||||
status = psa_allocate_buffer_to_slot( slot, bytes );
|
status = psa_allocate_buffer_to_slot( slot, bytes );
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
|
@ -6032,7 +6032,7 @@ psa_status_t psa_generate_key_internal(
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES)
|
#if defined(MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES)
|
||||||
if( type == PSA_KEY_TYPE_DES )
|
if( type == PSA_KEY_TYPE_DES )
|
||||||
psa_des_set_key_parity( key_buffer, key_buffer_size );
|
psa_des_set_key_parity( key_buffer, key_buffer_size );
|
||||||
#endif /* MBEDTLS_DES_C */
|
#endif /* MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue