mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 12:50:51 +02:00
0b6523d933
Recently, we had a wolfEngine customer report a compilation error because wolfSSL and OpenSSL both define the typedef pem_password_cb. The solution is to namespace our typedef with the wc_ prefix. In order to not break existing code that relies on wolfSSL providing pem_password_cb, if OPENSSL_COEXIST is not defined, we define pem_password_cb as a macro that maps to wc_pem_password_cb.