trustly / trustly-client-php

Trustly API PHP Client implementation
MIT License
18 stars 28 forks source link

Fix error message on openssl_error_string() failure #33

Open AJenbo opened 8 months ago

AJenbo commented 8 months ago

openssl_error_string() returns false, not null, in case of error.

https://www.php.net/manual/en/function.openssl-error-string.php