Skip to content
Snippets Groups Projects
Commit dfeb5d79 authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

Openssl version printed in compiler -v regardless of licensing


Change-Id: Ieb6c0f44f77aedae2443a64477d5daf6256f9de1
Signed-off-by: default avatarBenceJanosSzabo <bence.janos.szabo@ericsson.com>
parent 7cca234a
No related branches found
No related tags found
No related merge requests found
...@@ -111,10 +111,8 @@ COMMON_OBJECTS := $(addprefix ../common/, memory.o path.o userinfo.o) ...@@ -111,10 +111,8 @@ COMMON_OBJECTS := $(addprefix ../common/, memory.o path.o userinfo.o)
TCOV2LCOV_COMMON_OBJECTS := ../common/memory.o TCOV2LCOV_COMMON_OBJECTS := ../common/memory.o
ifeq ($(LICENSING), yes) COMMON_OBJECTS += ../common/license.o
COMMON_OBJECTS += ../common/license.o TCOV2LCOV_COMMON_OBJECTS += ../common/license.o
TCOV2LCOV_COMMON_OBJECTS += ../common/license.o
endif
ifdef REGEX_DIR ifdef REGEX_DIR
COMMON_OBJECTS += $(REGEX_DIR)/lib/regex.o COMMON_OBJECTS += $(REGEX_DIR)/lib/regex.o
......
...@@ -69,9 +69,9 @@ ...@@ -69,9 +69,9 @@
#include "ttcn3/profiler.h" #include "ttcn3/profiler.h"
#ifdef LICENSE
#include "../common/license.h" #include "../common/license.h"
#endif
using namespace Common; using namespace Common;
...@@ -919,12 +919,13 @@ int main(int argc, char *argv[]) ...@@ -919,12 +919,13 @@ int main(int argc, char *argv[])
fputs("TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor\n" fputs("TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n", stderr);
COPYRIGHT_STRING "\n\n", stderr); fputs("Using ", stderr);
fputs(openssl_version_str(), stderr);
fputs("\n\n", stderr);
fputs(COPYRIGHT_STRING "\n\n", stderr);
#ifdef LICENSE #ifdef LICENSE
print_license_info(); print_license_info();
fputs("\nUsing ", stderr);
fputs(openssl_version_str(), stderr);
fputs("\n\n", stderr); fputs("\n\n", stderr);
#endif #endif
return EXIT_SUCCESS; return EXIT_SUCCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment