Protect from Cipher errors within OpenSSL

but ensure that we're raising them when we need to.