Page 1 of 1

Where is ExpireRetCodes defined?

Posted: Thu Jan 12, 2023 3:26 pm
by SeeCwriter
In v2.9.5 with a NANO, in file NbWolfSsl.cpp is function:

Code: Select all

ExpireRetCodes SSL_IsCertExpired( unsigned char* certBuff, int certLen, uint16_t certBuffFormat /*= SSL_FILETYPE_PEM*/ )
I get a compiler error that ExpireRetCodes is not a type. I have searched all the NB source files and I can't find where it is declared. It is declared in the v3.x tools in file ssl.h, but nothing in the same file for v2.9.5.

Re: Where is ExpireRetCodes defined?

Posted: Fri Jan 13, 2023 9:55 am
by TomNB
Hello,

2.x and 3.x have different ssl implementations. ExpireRetCodes is only in 3.x.

Re: Where is ExpireRetCodes defined?

Posted: Fri Jan 13, 2023 12:23 pm
by SeeCwriter
However, in the forum thread below you will see that Jon posted two functions and told me to add them to NbWolfSsl.cpp in v2.9.5.

viewtopic.php?f=5&t=3162&start=10