Mercurial > trustbridge
diff cinst/mozilla.c @ 224:689b94dd89a9
Wrote FindNSS to build against nss without pkg-config support (Windows).
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 27 Mar 2014 17:00:01 +0100 |
parents | d29997e09177 |
children | d7788db3bdde |
line wrap: on
line diff
--- a/cinst/mozilla.c Thu Mar 27 12:46:46 2014 +0100 +++ b/cinst/mozilla.c Thu Mar 27 17:00:01 2014 +0100 @@ -49,10 +49,10 @@ * */ #include <dirent.h> -#include <nss/cert.h> -#include <nss/certt.h> -#include <nss/nss.h> -#include <nss/pk11pub.h> +#include <cert.h> +#include <certt.h> +#include <nss.h> +#include <pk11pub.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -264,7 +264,7 @@ CERTCertList *list; CERTCertListNode *node; char *name; - + if (NSS_Initialize(confdir, "", "", "secmod.db", NSS_INIT_READONLY) == SECSuccess) {