1 #include "openssl/opensslv.h" 2 3 #define XSTR(x) STR(x) 4 #define STR(x) #x 5 #ifdef SHLIB_VERSION_NUMBER 6 echo XSTR(SHLIB_VERSION_NUMBER) 7 #else 8 echo XSTR(OPENSSL_SHLIB_VERSION) 9 #endif 10