v3.5.0 Build errors
Posted: Mon May 20, 2024 10:27 am
I installed v3.5.0, and in predef.h I uncommented ENABLE_AUTOCERT_REGEN and tried to rebuild the system. I get the following compiler errors:
Code: Select all
C:/nburn/libraries/crypto/NetBurner/NbCertGen.cpp:126:111: error: request for member 'm_certExpTime' in 'pGenData', which is of pointer type 'CertGenData*' (maybe you meant to use '->' ?)
else if (SSL_GetTimeToExpire(HalGetDeviceCert(), HalGetDeviceCertLen(), HalGetDeviceFormat(),pGenData.m_certExpTime))
^~~~~~~~~~~~~
C:/nburn/libraries/crypto/NetBurner/NbCertGen.cpp:128:13: error: 'gCertGenData' was not declared in this scope
gCertGenData.m_certExpTimeSet = true;
^~~~~~~~~~~~
C:/nburn/libraries/crypto/NetBurner/NbCertGen.cpp:473:90: error: 'gCertGenData' was not declared in this scope
SSL_GetTimeToExpire(HalGetDeviceCert(), HalGetDeviceCertLen(), HalGetDeviceFormat(), gCertGenData.m_certExpTime);
^~~~~~~~~~~~