Skip to content
Snippets Groups Projects
Commit 460ba0a6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

The latest cryptlib 3.4.5 patched by Deuce

How I accomplished this (since I tend for forget):

1. Copy the 3rdp/src/cl from a current *nix build to a system w/MSVC2022
2. Remove the I/O/eap*.c files from the project (don't exist, not needed)
3. Change the build configuration to Win32 Release
4. Resolve misc\int_api.c(700,16): error C2099: initializer is not a constant

   misc\int_api.c int_api.c
   697a698,700
   > #undef CURRENT_TIME_VALUE
   > #define CURRENT_TIME_VALUE 0x6588BADC

I guess this version of MSVC isn't "tough enough",  though apparently MSVC2017
was.

This should fix CI builds.
parent 92cdc4b4
No related branches found
No related tags found
No related merge requests found
Pipeline #5091 passed
No preview for this file type
No preview for this file type
......@@ -1224,9 +1224,9 @@ typedef enum {
CRYPT_SESSINFO_TSP_MSGIMPRINT, /* TSP message imprint */
/* Terminal attributes */
CRYPT_SESSINFO_SSH_TERMINAL, /* TERM string sent to remote */
CRYPT_SESSINFO_SSH_WIDTH, /* Terminal width */
CRYPT_SESSINFO_SSH_HEIGHT, /* Terminal height */
CRYPT_SESSINFO_SSH_CHANNEL_TERMINAL, /* TERM string sent to remote */
CRYPT_SESSINFO_SSH_CHANNEL_WIDTH, /* Terminal width */
CRYPT_SESSINFO_SSH_CHANNEL_HEIGHT, /* Terminal height */
/* Used internally */
CRYPT_SESSINFO_LAST, CRYPT_USERINFO_FIRST = 7000,
......@@ -1373,7 +1373,7 @@ typedef enum {
CRYPT_CERTINFO_FIRST_CMS = CRYPT_CERTINFO_CMS_CONTENTTYPE,
CRYPT_CERTINFO_LAST_CMS = CRYPT_CERTINFO_LAST - 1,
CRYPT_SESSINFO_FIRST_SPECIFIC = CRYPT_SESSINFO_REQUEST,
CRYPT_SESSINFO_LAST_SPECIFIC = CRYPT_SESSINFO_TSP_MSGIMPRINT
CRYPT_SESSINFO_LAST_SPECIFIC = CRYPT_SESSINFO_SSH_CHANNEL_HEIGHT
/* Point at which private-use values start. Attribute values sometimes
need to be extended with additional pseudo-values in object-specific
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment