From faff87fd64258803394dce044f056234c8852dda Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 17 Apr 2002 07:51:46 +0000 Subject: [PATCH] Change the engine variable from engine_id to engine to avoid shadowing warnings. --- apps/s_server.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/s_server.c b/apps/s_server.c index a107b8c14a..ae77d9ae9d 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -418,7 +418,7 @@ int MAIN(int argc, char *argv[]) int state=0; SSL_METHOD *meth=NULL; char *inrand=NULL; - char *engine_id=NULL; + char *engine=NULL; ENGINE *e=NULL; #ifndef NO_DH DH *dh=NULL; @@ -582,7 +582,7 @@ int MAIN(int argc, char *argv[]) else if (strcmp(*argv,"-engine") == 0) { if (--argc < 1) goto bad; - engine_id= *(++argv); + engine = *(++argv); } else { @@ -635,9 +635,9 @@ bad: SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); - if (engine_id != NULL) + if (engine != NULL) { - if((e = ENGINE_by_id(engine_id)) == NULL) + if((e = ENGINE_by_id(engine)) == NULL) { BIO_printf(bio_err,"invalid engine\n"); ERR_print_errors(bio_err); @@ -654,7 +654,7 @@ bad: ERR_print_errors(bio_err); goto end; } - BIO_printf(bio_err,"engine \"%s\" set.\n", engine_id); + BIO_printf(bio_err,"engine \"%s\" set.\n", engine); ENGINE_free(e); } -- 2.25.1