From 728b1133e04b80461a60cffae90100abcba75720 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 7 Dec 2012 10:01:17 +0100 Subject: [PATCH] s_time uses tm_ctx. --- openssl-1.0.1c-default-paths.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl-1.0.1c-default-paths.patch b/openssl-1.0.1c-default-paths.patch index 236d1db..364128d 100644 --- a/openssl-1.0.1c-default-paths.patch +++ b/openssl-1.0.1c-default-paths.patch @@ -84,14 +84,14 @@ diff -up openssl-1.0.1c/apps/s_time.c.default-paths openssl-1.0.1c/apps/s_time.c - /* BIO_printf(bio_err,"error setting default verify locations\n"); */ - ERR_print_errors(bio_err); - /* goto end; */ -+ if (!SSL_CTX_set_default_verify_paths(ctx)) ++ if (!SSL_CTX_set_default_verify_paths(tm_ctx)) + { + ERR_print_errors(bio_err); + } + } + else + { -+ if (!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ++ if (!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) + { + ERR_print_errors(bio_err); + }