mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-05 01:00:11 -05:00
fix Windows build with MSVC compiler
This commit is contained in:
parent
d7ae7c90f9
commit
40bd33ee01
@ -61,9 +61,9 @@
|
|||||||
#define OPENSSL_API_COMPAT 0x10100000L
|
#define OPENSSL_API_COMPAT 0x10100000L
|
||||||
#define OPENSSL_NO_DEPRECATED
|
#define OPENSSL_NO_DEPRECATED
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#if defined(_MSC_VER) || defined(MINGW32)
|
||||||
#define HAVE_WINDOWS_H
|
#define HAVE_WINDOWS_H
|
||||||
#endif /* __MINGW32__ */
|
#endif /* _MSC_VER || MINGW32 */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -2910,7 +2910,7 @@ static int verify_signature(SIGNATURE *signature, GLOBAL_OPTIONS *options)
|
|||||||
printf("Timestamp Server Signature verification: %s\n", timeok ? "ok" : "failed");
|
printf("Timestamp Server Signature verification: %s\n", timeok ? "ok" : "failed");
|
||||||
if (!timeok) {
|
if (!timeok) {
|
||||||
signature->time = INVALID_TIME;
|
signature->time = INVALID_TIME;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
printf("\nTimestamp Server Signature verification is disabled\n\n");
|
printf("\nTimestamp Server Signature verification is disabled\n\n");
|
||||||
signature->time = INVALID_TIME;
|
signature->time = INVALID_TIME;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user