[openssl] s_time uses tm_ctx.

Tomáš Mráz tmraz at fedoraproject.org
Fri Dec 7 09:01:42 UTC 2012


commit 728b1133e04b80461a60cffae90100abcba75720
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Fri Dec 7 10:01:17 2012 +0100

    s_time uses tm_ctx.

 openssl-1.0.1c-default-paths.patch |    4 ++--
 1 files 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);
 +			}


More information about the scm-commits mailing list