When OpenSSL was not previously initialized, EVP_PKEY_Q_keygen() would cause a segmentation fault. Avoid this by backporting a fix from upstream. Resolves: rhbz#2103289 Signed-off-by: Clemens Lang <cllang@redhat.com>