Fix OpenSSL error logging

Michał Kępień requested to merge 476-fix-openssl-error-logging into master

Closes #476 (closed)

Merge request reports