The functions take a SSL *, not a SSL_CTX *