зеркало из https://github.com/mozilla/pjs.git
Eliminate some warnings by adding missing #include lines, or other minor
cleanup.
This commit is contained in:
Родитель
3de08d754b
Коммит
13447ee9b0
|
@ -36,6 +36,7 @@
|
|||
#include "cmmfi.h"
|
||||
#include "secitem.h"
|
||||
#include "pk11func.h"
|
||||
#include "secder.h"
|
||||
|
||||
CMMFPOPODecKeyChallContent*
|
||||
CMMF_CreatePOPODecKeyChallContentFromDER(const char *buf, long len)
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "cmmf.h"
|
||||
#include "cmmfi.h"
|
||||
#include "secitem.h"
|
||||
#include "secder.h"
|
||||
|
||||
SECStatus
|
||||
cmmf_DestroyPKIStatusInfo (CMMFPKIStatusInfo *info, PRBool freeit)
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "cmmfi.h"
|
||||
#include "secitem.h"
|
||||
#include "keyhi.h"
|
||||
#include "secder.h"
|
||||
|
||||
CRMFEncryptedKeyChoice
|
||||
CRMF_EncryptedKeyGetChoice(CRMFEncryptedKey *inEncrKey)
|
||||
|
|
|
@ -227,7 +227,7 @@ SECKEY_KEASetParams(KEAParams * params, SECKEYPublicKey * pubKey) {
|
|||
/* the key has no KEA parameters */
|
||||
return SECFailure;
|
||||
}
|
||||
|
||||
return SECSuccess;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1879,7 +1879,7 @@ PK11_FindCertAndKeyByRecipientListNew(NSSCMSRecipient **recipientlist, void *win
|
|||
|
||||
certHandle = pk11_AllFindCertObjectByRecipientNew(recipientlist, wincx, &rlIndex);
|
||||
if (certHandle == CK_INVALID_KEY) {
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
rl = recipientlist[rlIndex];
|
||||
|
@ -1915,7 +1915,7 @@ PK11_FindCertAndKeyByRecipientListNew(NSSCMSRecipient **recipientlist, void *win
|
|||
SECKEY_DestroyPrivateKey(rl->privkey);
|
||||
rl->slot = NULL;
|
||||
rl->privkey = NULL;
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
return rlIndex;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/*
|
||||
* PKCS7 creation.
|
||||
*
|
||||
* $Id: p7create.c,v 1.1 2000-03-31 19:16:04 relyea%netscape.com Exp $
|
||||
* $Id: p7create.c,v 1.2 2001-01-07 07:56:33 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "p7local.h"
|
||||
|
@ -47,6 +47,7 @@
|
|||
#include "pk11func.h"
|
||||
#include "prtime.h"
|
||||
#include "secerr.h"
|
||||
#include "secder.h"
|
||||
|
||||
static SECStatus
|
||||
sec_pkcs7_init_content_info (SEC_PKCS7ContentInfo *cinfo, PRArenaPool *poolp,
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/*
|
||||
* CMS signerInfo methods.
|
||||
*
|
||||
* $Id: cmssiginfo.c,v 1.4 2000-06-20 16:28:57 chrisk%netscape.com Exp $
|
||||
* $Id: cmssiginfo.c,v 1.5 2001-01-07 07:56:35 nelsonb%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "cmslocal.h"
|
||||
|
@ -47,6 +47,7 @@
|
|||
#include "pk11func.h"
|
||||
#include "prtime.h"
|
||||
#include "secerr.h"
|
||||
#include "secder.h"
|
||||
#include "cryptohi.h"
|
||||
|
||||
#include "smime.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче