Hi Stephan, Thank you for your quick response and also the link to your github issue. I must have brushed over it when searching for similar issues, apologies. Anyway, this seems to further confirm the issue(s) at hand... Did you have any success or have you made any attempts at fixing this so far? I think we can not simply change the usage of "ossl_isacii" but also need to adjust "ossl_ctype_check" for the -DCHARSET_EBCDIC case because whenever the input is ASCII it will fail. This will be the case for all the functions that expect ASCII input and use "ossl_ctype_check" for sure but might occur for many more. I am still trying to get some own ASCII check to work to ensure "ossl_toascii" is only run when the input is not already ASCII. -- Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html