Re: NSS_Context and FIPS

2016-10-21 Thread Robert Relyea
On 10/21/2016 07:04 AM, Rob Crittenden wrote: I'm trying to figure out how to dynamically enable FIPS support for NSS Contexts. I started with multinit.c and initialize FIPS right after calling NSS_InitContext() using this: So you can't change the state of an already open database. NSS will

Re: NSS_Context and FIPS

2016-10-21 Thread Rob Crittenden
Robert Relyea wrote: On 10/21/2016 07:04 AM, Rob Crittenden wrote: I'm trying to figure out how to dynamically enable FIPS support for NSS Contexts. I started with multinit.c and initialize FIPS right after calling NSS_InitContext() using this: So you can't change the state of an already

NSS_Context and FIPS

2016-10-21 Thread Rob Crittenden
I'm trying to figure out how to dynamically enable FIPS support for NSS Contexts. I started with multinit.c and initialize FIPS right after calling NSS_InitContext() using this: if (!PK11_IsFIPS()) { fprintf(stderr, "Initializing FIPS\n"); SECMODModule *mod =

Re: NSS and NSPR compilation error: ssl3con.c:36:18: fatal error: zlib.h: No such file

2016-10-21 Thread Ding Yangliang
Thanks for helping of yours! Now I have enabled the option you said, with this line: sudo make nss_build_all NSS_SSL_ENABLE_ZLIB= BUILD_OPT=1 Before that I also installed zlib1g-dev sudo apt-get install zlib1g-dev And all errors are gone! Thanks a lot and have a good day. 1 week