return NULL;
SSL_CTX_set_verify(c, SSL_VERIFY_NONE, NULL);
+ SSL_CTX_set_quiet_shutdown(c, 1);
return (void *) c;
}
SSL_CTX_free((void *) ctx);
}
+void __ustream_ssl_session_free(void *ssl)
+{
+ SSL_shutdown(ssl);
+ SSL_free(ssl);
+}
+
static void ustream_ssl_error(struct ustream_ssl *us, int ret)
{
us->error = ret;
for (; (c = tolower(*pattern++)) != 0; cn++) {
if (c != '*') {
- if (c != *cn)
+ if (c != tolower(*cn))
return false;
continue;
}