Alex wrote:
Thanks for your help. The problem has been solved by adding extern "C"
block. I'm very grateful. :-)
Glad to hear that's indeed the problem. All the NSS
headers should contain (the equivalent of)
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#en
> Alex wrote:
>> I compiled nss on FreeBSD platform, and wrote a program .
>> My program use function SECU_ReadDERFromFile, like this
>>
>> #include "secutil.h"
>> ..
>> rv = SECU_ReadDERFromFile(&certDER, inFile, PR_TRUE);
>> ..
>>
>>
>> This function is in libsectool.a
>>
>> #nm libsectoo
Alex wrote:
I compiled nss on FreeBSD platform, and wrote a program .
My program use function SECU_ReadDERFromFile, like this
#include "secutil.h"
..
rv = SECU_ReadDERFromFile(&certDER, inFile, PR_TRUE);
..
This function is in libsectool.a
#nm libsectool.a |grep SECU_Read
1290 T S
I compiled nss on FreeBSD platform, and wrote a program .
My program use function SECU_ReadDERFromFile, like this
#include "secutil.h"
..
rv = SECU_ReadDERFromFile(&certDER, inFile, PR_TRUE);
..
This function is in libsectool.a
#nm libsectool.a |grep SECU_Read
1290 T SECU_ReadDERFro
4 matches
Mail list logo