Fix for non-openssl case