From dc24110311b9bfc07b2699ae365e7a3820621655 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Thu, 16 Feb 2006 20:20:24 +0000 Subject: [PATCH] wrap shlib for testtsa Submitted by: David Somers --- test/Makefile | 2 +- test/testtsa | 41 ++++++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/test/Makefile b/test/Makefile index 5f977c171f..088d0bc126 100644 --- a/test/Makefile +++ b/test/Makefile @@ -287,7 +287,7 @@ test_aes: #$(AESTEST) # ../util/shlib_wrap.sh ./$(AESTEST) test_tsa: - @if ../apps/openssl no-rsa; then \ + @if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \ echo "skipping testtsa test -- requires RSA"; \ else \ sh ./testtsa; \ diff --git a/test/testtsa b/test/testtsa index b135438b7d..746aa258d6 100644 --- a/test/testtsa +++ b/test/testtsa @@ -11,6 +11,9 @@ export SH PATH OPENSSL_CONF="../CAtsa.cnf" export OPENSSL_CONF +OPENSSL="../util/opensslwrap.sh" +export OPENSSL + error () { echo "ERROR DURING TSA TESTS!!!!!!!!!!!!!!!!" >&2 @@ -49,7 +52,7 @@ create_tsa_cert () { INDEX=$1 EXT=$2 - openssl req -new -out tsa_req${INDEX}.pem -keyout tsa_key${INDEX}.pem <