# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |