mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 19:45:33 +00:00
Fix logic to allow at least one PKCS version enabled
This commit is contained in:
parent
37068a79fe
commit
4fde40f656
|
@ -362,7 +362,7 @@
|
||||||
#error "MBEDTLS_RSA_C defined, but not all prerequisites"
|
#error "MBEDTLS_RSA_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_RSA_C) && ( !defined(MBEDTLS_PKCS1_V21) || \
|
#if defined(MBEDTLS_RSA_C) && ( !defined(MBEDTLS_PKCS1_V21) && \
|
||||||
!defined(MBEDTLS_PKCS1_V15) )
|
!defined(MBEDTLS_PKCS1_V15) )
|
||||||
#error "MBEDTLS_RSA_C defined, but none of the PKCS1 versions enabled"
|
#error "MBEDTLS_RSA_C defined, but none of the PKCS1 versions enabled"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue