lib: warn, but don't fail on error reading serial number or version

lib: fix Windows build with OpenSSL 1.1.1
ykcs11: fix size_t/unsigned long type mismatch on Windows x64
This commit is contained in:
Dave Pate
2019-05-06 14:46:46 -07:00
parent 00ced78b7a
commit c61d6c6f23
3 changed files with 23 additions and 4 deletions
+4 -1
View File
@@ -1,6 +1,5 @@
#ifdef _WIN32
#include <windows.h>
#include <strsafe.h>
#ifdef _MSC_VER
#define strcasecmp _stricmp
#endif
@@ -24,6 +23,10 @@
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <strsafe.h> /* must be included after openssl headers */
#endif
#include "internal.h"
/*