Browse Source

tlsfuzzer.sh: Run openssl version on the built app and not system one

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/23342)
Tomas Mraz 5 months ago
parent
commit
150b3b18df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/recipes/95-test_external_tlsfuzzer_data/tlsfuzzer.sh

+ 1 - 1
test/recipes/95-test_external_tlsfuzzer_data/tlsfuzzer.sh

@@ -32,7 +32,7 @@ export LD_LIBRARY_PATH="$O_LIB:$LD_LIBRARY_PATH"
 export OPENSSL_ROOT_DIR="$O_LIB"
 
 # Check/Set openssl version
-OPENSSL_VERSION=`openssl version | cut -f 2 -d ' '`
+OPENSSL_VERSION=$(${O_EXE}/openssl version | cut -f 2 -d ' ')
 
 CLI="${O_EXE}/openssl"
 SERV="${O_EXE}/openssl"