• Hanno Becker's avatar
    Guard mbedtls_pkcs5_pbes2() by MBEDTLS_ASN1_PARSE_C · 1ea604d3
    Hanno Becker authored
    Previously, mbedtls_pkcs5_pbes2() was unconditionally declared
    in `pkcs5.h` but defined as a stub returning
    `MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE` in case
    MBEDTLS_ASN1_PARSE_C was not defined.
    
    In line with the previous commits, this commit removes declaration
    and definition from both `pkcs5.h` and `pkcs5.c` in case
    MBEDTLS_ASN1_PARSE_C is not defined.
    1ea604d3