Merge pull request #6232 from AndrzejKurek/pkcs12-no-md

Remove MD dependency from pkcs12 module
This commit is contained in:
Manuel Pégourié-Gonnard 2022-09-02 09:43:13 +02:00 committed by GitHub
commit 97fc247d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 152 additions and 78 deletions

View file

@ -159,7 +159,8 @@
#error "MBEDTLS_PKCS5_C defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_PKCS12_C) && !defined(MBEDTLS_MD_C)
#if defined(MBEDTLS_PKCS12_C) && \
!( defined(MBEDTLS_MD_C) || defined(MBEDTLS_PSA_CRYPTO_C) )
#error "MBEDTLS_PKCS12_C defined, but not all prerequisites"
#endif