diff options
Diffstat (limited to 'demos/bio/saccept.c')
-rw-r--r-- | demos/bio/saccept.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/demos/bio/saccept.c b/demos/bio/saccept.c index 106a089daf..66c5c61755 100644 --- a/demos/bio/saccept.c +++ b/demos/bio/saccept.c @@ -26,7 +26,7 @@ static int done = 0; -void interrupt() +void interrupt(int sig) { done = 1; } @@ -58,11 +58,6 @@ int main(int argc, char *argv[]) else port = argv[1]; - SSL_load_error_strings(); - - /* Add ciphers and message digests */ - OpenSSL_add_ssl_algorithms(); - ctx = SSL_CTX_new(TLS_server_method()); if (!SSL_CTX_use_certificate_chain_file(ctx, CERT_FILE)) goto err; |