openssl3.2 - exp - get openssl version info
void CvsBuildModeDiffDlg::test()
{
std::string str;
//# define OPENSSL_VERSION 0
//# define OPENSSL_CFLAGS 1
//# define OPENSSL_BUILT_ON 2
//# define OPENSSL_PLATFORM 3
//# define OPENSSL_DIR 4
//# define OPENSSL_ENGINES_DIR 5
//# define OPENSSL_VERSION_STRING 6
//# define OPENSSL_FULL_VERSION_STRING 7
//# define OPENSSL_MODULES_DIR 8
//# define OPENSSL_CPU_INFO 9
str = OpenSSL_version(OPENSSL_VERSION); // OpenSSL 3.2.0 23 Nov 2023
str = OpenSSL_version(OPENSSL_CFLAGS); // compiler: cl /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MDd /W3 /wd4090 /nologo /Od -DLIBZ=".\\\\my_zlib_1d3.dll" -DL_ENDIAN -DOPENSSL_PIC -D"OPENSSL_BUILDING_OPENSSL" -D"ZLIB" -D"ZLIB_SHARED" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"DEBUG" -D"_DEBUG" -I"D:\\my_dev\\lib\\zlib_1d3"
str = OpenSSL_version(OPENSSL_BUILT_ON); // built on: Sun Feb 25 02:20:27 2024 UTC
str = OpenSSL_version(OPENSSL_PLATFORM); // platform: VC-WIN64A
str = OpenSSL_version(OPENSSL_DIR); // OPENSSLDIR: "C:\openssl_3d2\common"
str = OpenSSL_version(OPENSSL_ENGINES_DIR); // ENGINESDIR: "C:\openssl_3d2\lib\engines-3"
str = OpenSSL_version(OPENSSL_VERSION_STRING); // 3.2.0
str = OpenSSL_version(OPENSSL_FULL_VERSION_STRING); // 3.2.0
str = OpenSSL_version(OPENSSL_MODULES_DIR); // MODULESDIR: "C:\openssl_3d2\lib\ossl-modules"
str = OpenSSL_version(OPENSSL_CPU_INFO); // CPUINFO: OPENSSL_ia32cap=0x7ffaf3ffffebffff:0x18c07fcef3bfa7eb
str;
}