diff --git a/src/syncterm/st_crypt.h b/src/syncterm/st_crypt.h index 799ed951a5f950255efdd3afb621c7930c044353..d9a704fecdf71266968db65f4fcf40fcf4088dcb 100644 --- a/src/syncterm/st_crypt.h +++ b/src/syncterm/st_crypt.h @@ -6,8 +6,10 @@ #ifndef WITHOUT_CRYPTLIB #include <cryptlib.h> #if CRYPTLIB_VERSION < 3400 +#if CRYPTLIB_VERSION < 340 || CRYPTLIB_VERSION > 999 #define CRYPT_ATTRIBUTE_ERRORMESSAGE CRYPT_ATTRIBUTE_INT_ERRORMESSAGE #endif +#endif struct crypt_funcs { int (*PopData)( C_IN CRYPT_HANDLE envelope, C_OUT void C_PTR buffer,