Add missing #include "nss.h"
git-svn-id: svn://10.0.0.236/trunk@84516 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8efab9fa06
commit
68e54ecade
@ -51,6 +51,7 @@
|
||||
#include "pqgutil.h"
|
||||
#include "certxutl.h"
|
||||
#include "secrng.h" /* for RNG_ */
|
||||
#include "nss.h"
|
||||
|
||||
|
||||
/* #define TEST 1 */
|
||||
|
||||
@ -62,6 +62,7 @@
|
||||
#include "cryptohi.h"
|
||||
#include "secoid.h"
|
||||
#include "certdb.h"
|
||||
#include "nss.h"
|
||||
|
||||
#define MIN_KEY_BITS 512
|
||||
#define MAX_KEY_BITS 2048
|
||||
|
||||
@ -44,6 +44,7 @@
|
||||
#include "secutil.h"
|
||||
#include "cert.h"
|
||||
#include "certdb.h"
|
||||
#include "nss.h"
|
||||
|
||||
#define SEC_CERT_DB_EXISTS 0
|
||||
#define SEC_CREATE_CERT_DB 1
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "secutil.h"
|
||||
#include "nss.h"
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
|
||||
@ -110,7 +111,7 @@ int main(int argc, char **argv)
|
||||
if (!inFile) inFile = PR_STDIN;
|
||||
if (!outFile) outFile = stdout;
|
||||
|
||||
NSS_NoDB_Init();
|
||||
NSS_NoDB_Init(NULL); /* XXX */
|
||||
|
||||
rv = SECU_ReadDERFromFile(&der, inFile, PR_FALSE);
|
||||
if (rv == SECSuccess) {
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
#include <plstr.h>
|
||||
#include "secrng.h"
|
||||
#include "certdb.h" /* for CERT_DB_FILE_VERSION */
|
||||
#include "nss.h"
|
||||
|
||||
static void install_error(char *message);
|
||||
static char* PR_fgets(char *buf, int size, PRFileDesc *file);
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
/*
|
||||
* p7content -- A command to display pkcs7 content.
|
||||
*
|
||||
* $Id: p7content.c,v 1.2 2001-01-06 22:08:51 relyea%netscape.com Exp $
|
||||
* $Id: p7content.c,v 1.3 2001-01-07 07:43:13 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nspr.h"
|
||||
@ -43,6 +43,7 @@
|
||||
#include "secpkcs7.h"
|
||||
#include "cert.h"
|
||||
#include "certdb.h"
|
||||
#include "nss.h"
|
||||
|
||||
#if defined(XP_UNIX)
|
||||
#include <unistd.h>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
/*
|
||||
* p7env -- A command to create a pkcs7 enveloped data.
|
||||
*
|
||||
* $Id: p7env.c,v 1.2 2001-01-06 22:08:54 relyea%netscape.com Exp $
|
||||
* $Id: p7env.c,v 1.3 2001-01-07 07:43:15 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nspr.h"
|
||||
@ -43,6 +43,7 @@
|
||||
#include "secpkcs7.h"
|
||||
#include "cert.h"
|
||||
#include "certdb.h"
|
||||
#include "nss.h"
|
||||
|
||||
#if defined(XP_UNIX)
|
||||
#include <unistd.h>
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
* p7sign -- A command to create a *detached* pkcs7 signature (over a given
|
||||
* input file).
|
||||
*
|
||||
* $Id: p7sign.c,v 1.3 2001-01-06 22:08:56 relyea%netscape.com Exp $
|
||||
* $Id: p7sign.c,v 1.4 2001-01-07 07:43:17 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nspr.h"
|
||||
@ -45,6 +45,7 @@
|
||||
#include "cert.h"
|
||||
#include "certdb.h"
|
||||
#include "sechash.h" /* for HASH_GetHashObject() */
|
||||
#include "nss.h"
|
||||
|
||||
#if defined(XP_UNIX)
|
||||
#include <unistd.h>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
/*
|
||||
* p7verify -- A command to do a verification of a *detached* pkcs7 signature.
|
||||
*
|
||||
* $Id: p7verify.c,v 1.3 2001-01-06 22:08:58 relyea%netscape.com Exp $
|
||||
* $Id: p7verify.c,v 1.4 2001-01-07 07:43:24 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nspr.h"
|
||||
@ -45,6 +45,7 @@
|
||||
#include "certdb.h"
|
||||
#include "secoid.h"
|
||||
#include "sechash.h" /* for HASH_GetHashObject() */
|
||||
#include "nss.h"
|
||||
|
||||
#if defined(XP_UNIX)
|
||||
#include <unistd.h>
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
#include "signtool.h"
|
||||
#include "prio.h"
|
||||
#include "prmem.h"
|
||||
#include "nss.h"
|
||||
|
||||
static int is_dir (char *filename);
|
||||
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
#include "secmod.h"
|
||||
#include "cert.h"
|
||||
#include "secoid.h"
|
||||
#include "nss.h"
|
||||
|
||||
/* NSPR 2.0 header files */
|
||||
#include "prinit.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user