I'm trying to recompile my source code with the latest release version
of NSS 3.3.2 and NSPR 4.1.2. I'm getting this error message during
compilation:
incomplete struct/union/enum CERTCertDBHandleStr: certDBHandle
I'm using certDBHandle in the CERT_OpenCertDBFilename function. I
looked at certt.h in the include directory and it includes this line:
typedef struct CERTCertDBHandleStr CERTCertDBHandle;
However, CERTCertDBHandleStr is not defined anywhere else in this .h
or any other .h in the release. I check the 3.3.1 and 3.3 release and
they don't define this structure either. In the version that we are
currently using (which a really old version), this is how the
structure is defined:
/*
* Handle structure for open certificate databases
*/
struct CERTCertDBHandleStr {
DB *permCertDB;
DB *tempCertDB;
void *spkDigestInfo;
CERTStatusConfig *statusConfig;
PRMonitor *dbMon;
};
Is something missing out of these releases?
Thanks,
Jim