1/* cryptlib resource file. We provide a slightly different version depending 2 on whether it's a debug or release build because some Windows lusers 3 complained about the fact that the code indicated a version of "beta n". 4 Shipping them exactly the same code renamed to "SPn" fixed the problem. 5 6 Unlike the C compiler, the resource compiler doesn't define platform- 7 specific macros, so it's necessary to do this manually via Properties | 8 Resources | General | Preprocessor Definitions */ 9 10#ifdef APSTUDIO_INVOKED 11 #error This file should not be edited using the resource editor (ApStudio) 12#endif /* Resource editor fiddling with the file */ 13 14#ifdef _WIN32_WCE 15 #include <winbase.h> 16#else 17 #include <winver.h> 18#endif /* Win32 vs. WinCE */ 19#include "misc/config.h" 20 21/* If we're building with nonstandard options, mark it as a private build */ 22 23#if defined( USE_CERT_DNSTRING ) || defined( USE_CRYPTOAPI ) || \ 24 defined( USE_DNSSRV ) || defined( USE_GCM ) || defined( USE_LDAP ) || \ 25 defined( USE_OAEP ) || defined( USE_PKCS12 ) || \ 26 defined( USE_SSH_EXTENDED ) || defined( USE_DES ) || \ 27 defined( USE_RC2 ) || defined( USE_RC4 ) 28 #define PRIVATE_BUILD 29#endif /* Nonstandard config.options */ 30 31/* cryptlib version information, needed at various places in the resources */ 32 33#define VERSION 3,4,3 34#define VERSION_STR "3.4.3\0" 35 36/* The version information resource */ 37 38VS_VERSION_INFO VERSIONINFO 39FILEVERSION VERSION 40PRODUCTVERSION VERSION 41FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 42#if defined( _DEBUG ) 43 FILEFLAGS VS_FF_DEBUG | VS_FF_PRIVATEBUILD | VS_FF_PRERELEASE 44#elif defined( PRIVATE_BUILD ) 45 FILEFLAGS VS_FF_PRIVATEBUILD 46#else 47 FILEFLAGS 0 48#endif /* _DEBUG */ 49#ifdef _WIN32_WCE 50 #if UNDER_CE >= 400 51 FILEOS VOS_WINDOWSCE 52 #else 53 FILEOS VOS_NT_WINDOWS32 54 #endif /* Older vs. newer eVC++ versions */ 55#else 56 FILEOS VOS_NT 57#endif /* Win32 vs. WinCE */ 58FILETYPE VFT_DLL 59FILESUBTYPE 0 ; Not needed for DLLs 60BEGIN 61 BLOCK "VarFileInfo" 62 BEGIN 63 VALUE "Translation", 0x0409, 1252 ; US English, Windoze charset 64 END 65 66 BLOCK "StringFileInfo" 67 BEGIN 68 BLOCK "040904E4" ; US English, Windoze charset data 69 BEGIN 70#if defined( _WIN32_WCE ) 71 VALUE "FileDescription", "cryptlib security toolkit for Windows CE\0" 72#elif defined( _WIN64 ) 73 VALUE "FileDescription", "cryptlib security toolkit (64 bit)\0" 74#else 75 VALUE "FileDescription", "cryptlib security toolkit (32 bit)\0" 76#endif /* Win32 vs. WinCE */ 77 VALUE "ProductName", "cryptlib security toolkit\0" 78 VALUE "CompanyName", "Peter Gutmann\0" 79 VALUE "LegalCopyright", "Copyright \251 1994 - 2015 Peter Gutmann, Eric Young, OpenSSL\0" 80 VALUE "FileVersion", VERSION_STR 81 VALUE "ProductVersion", VERSION_STR 82#if defined( _DEBUG ) 83 VALUE "PrivateBuild", "Debug/test build, not for production use!\0" ; Needed for VS_FF_PRIVATEBUILD 84#elif defined( PRIVATE_BUILD ) 85 VALUE "PrivateBuild", "Nonstandard build, not an official release\0" ; Needed for VS_FF_PRIVATEBUILD 86#endif /* _DEBUG */ 87 END 88 END 89END 90