fix inappropriate use of FREE() in ssl init error path

OpenSSL structures need to be freed with dedicated functions.
2 jobs for stable in 17 minutes and 6 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #70940890
gnutls

00:17:05

passed #70940888
openssl

00:13:30