| 433 |
|
|
| 434 |
|
if ((ServerInfo.server_ctx = SSL_CTX_new(SSLv23_server_method())) == NULL) |
| 435 |
|
{ |
| 436 |
< |
const char *s; |
| 436 |
> |
const char *s = ERR_lib_error_string(ERR_get_error()); |
| 437 |
|
|
| 438 |
< |
fprintf(stderr, "ERROR: Could not initialize the SSL Server context -- %s\n", |
| 439 |
< |
s = ERR_lib_error_string(ERR_get_error())); |
| 438 |
> |
fprintf(stderr, "ERROR: Could not initialize the SSL Server context -- %s\n", s); |
| 439 |
|
ilog(LOG_TYPE_IRCD, "ERROR: Could not initialize the SSL Server context -- %s\n", s); |
| 440 |
|
} |
| 441 |
|
|
| 461 |
|
|
| 462 |
|
if ((ServerInfo.client_ctx = SSL_CTX_new(SSLv23_client_method())) == NULL) |
| 463 |
|
{ |
| 464 |
< |
const char *s; |
| 464 |
> |
const char *s = ERR_lib_error_string(ERR_get_error()); |
| 465 |
|
|
| 466 |
< |
fprintf(stderr, "ERROR: Could not initialize the SSL Client context -- %s\n", |
| 468 |
< |
s = ERR_lib_error_string(ERR_get_error())); |
| 466 |
> |
fprintf(stderr, "ERROR: Could not initialize the SSL Client context -- %s\n", s); |
| 467 |
|
ilog(LOG_TYPE_IRCD, "ERROR: Could not initialize the SSL Client context -- %s\n", s); |
| 468 |
|
} |
| 469 |
|
|