Fix 100796: calling undeclared functions breaks AIX build

Workaround 100791: misspelled function prototypes in pk11func.h
This commit is contained in:
nicolson%netscape.com 2001-09-20 19:16:51 +00:00
parent f3fac3b92e
commit 6103c2860e
4 changed files with 14 additions and 0 deletions

View File

@ -372,6 +372,12 @@ finish:
return token;
}
/*
* workaround for bug 100791: misspelled function prototypes in pk11func.h
*/
SECItem*
PK11_GetLowLevelKeyIDForCert(PK11SlotInfo*,CERTCertificate*,void*);
/**********************************************************************
* PK11Cert.getUniqueID
*/

View File

@ -34,6 +34,7 @@
#include "_jni/org_mozilla_jss_pkcs11_PK11KeyPairGenerator.h"
#include <pk11func.h>
#include <pk11pqg.h>
#include <nspr.h>
#include <key.h>
#include <secitem.h>

View File

@ -310,6 +310,12 @@ finish:
return token;
}
/*
* workaround for bug 100791: misspelled function prototypes in pk11func.h
*/
SECItem*
PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey*);
/**********************************************************************
* PK11PrivKey.getUniqueID
*/

View File

@ -36,6 +36,7 @@
#include <plarena.h>
#include <secmodt.h>
#include <pk11func.h>
#include <pk11pqg.h>
#include <secerr.h>
#include <nspr.h>
#include <key.h>