mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 02:32:19 +01:00
Make `wc_PRF` return an error if it doesn't find a corresponding hash for the passed in hash type. Currently, if `wc_PRF_TLS` is called with `NO_OLD_TLS` defined, it will do nothing but still return success. Make it return an error instead. These problems were uncovered when running the wolfEngine unit tests with wolfSSL 5.0.0 FIPS Ready, which defines `NO_MD5` and `NO_OLD_TLS`.