ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/tls_openssl.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/tls_openssl.c (file contents):
Revision 7271 by michael, Sat Feb 6 20:47:15 2016 UTC vs.
Revision 7274 by michael, Sat Feb 6 20:55:49 2016 UTC

# Line 331 | Line 331 | tls_new(tls_data_t *tls_data, int fd, tl
331   {
332    SSL *ssl;
333  
334 +  if (!TLS_initialized)
335 +    return 0;
336 +
337    if (role == TLS_ROLE_SERVER)
338      ssl = SSL_new(ConfigServerInfo.tls_ctx.server_ctx);
339    else

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)