Where is ExpireRetCodes defined?

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 605
Joined: Mon May 12, 2008 10:55 am

Where is ExpireRetCodes defined?

Post 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.
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: Where is ExpireRetCodes defined?

Post by TomNB »

Hello,

2.x and 3.x have different ssl implementations. ExpireRetCodes is only in 3.x.
SeeCwriter
Posts: 605
Joined: Mon May 12, 2008 10:55 am

Re: Where is ExpireRetCodes defined?

Post 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
Post Reply