crypto-openssl: fix coverity warnings