diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-09-17 17:16:28 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-09-17 17:16:28 +0000 |
commit | 5d20c4fb3582a0e6cbf8513c94c60e4cd326716d (patch) | |
tree | f2d8a974055968c0315588ea30d369ace38fe1d5 /apps/s_server.c | |
parent | a04549cc755408ff2dcab209fd87d3e46f7d662a (diff) |
Overhaul of by_dir code to handle dynamic loading of CRLs.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index a294ed343d..ac43e5aac1 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -258,7 +258,7 @@ static int accept_socket= -1; #undef PROG #define PROG s_server_main -extern int verify_depth; +extern int verify_depth, verify_return_error; static char *cipher=NULL; static int s_server_verify=SSL_VERIFY_NONE; @@ -842,6 +842,8 @@ int MAIN(int argc, char *argv[]) { vflags |= X509_V_FLAG_CRL_CHECK|X509_V_FLAG_CRL_CHECK_ALL; } + else if (strcmp(*argv,"-verify_return_error") == 0) + verify_return_error = 1; else if (strcmp(*argv,"-serverpref") == 0) { off|=SSL_OP_CIPHER_SERVER_PREFERENCE; } else if (strcmp(*argv,"-cipher") == 0) |