rsaperf uses low level external headers. Get those headers from the

development tree.


git-svn-id: svn://10.0.0.236/trunk@103356 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
relyea%netscape.com
2001-09-20 21:52:06 +00:00
parent 689040a632
commit 1a8f6540c8
3 changed files with 8 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
*/
#include "seccomon.h"
#include "secoidt.h"
#include "keyt.h"
#include "keytlow.h"
#define CONST
@@ -105,11 +105,11 @@ static struct SECKEYLowPrivateKeyStr rsaPriv;
SECKEYLowPrivateKey *
getDefaultRSAPrivateKey(void)
{
if (rsaPriv.keyType != rsaKey) {
if (rsaPriv.keyType != lowRSAKey) {
/* leaving arena uninitialized. It isn't used in this test. */
rsaPriv.keyType = rsaKey;
rsaPriv.keyType = lowRSAKey;
/* leaving arena uninitialized. It isn't used. */
/* leaving version uninitialized. It isn't used. */
@@ -139,9 +139,9 @@ static struct SECKEYLowPublicKeyStr rsaPub;
SECKEYLowPublicKey *
getDefaultRSAPublicKey(void)
{
if (rsaPub.keyType != rsaKey) {
if (rsaPub.keyType != lowRSAKey) {
rsaPub.keyType = rsaKey;
rsaPub.keyType = lowRSAKey;
rsaPub.u.rsa.modulus.data = default_n;
rsaPub.u.rsa.modulus.len = sizeof default_n;

View File

@@ -37,6 +37,8 @@ CORE_DEPTH = ../../..
# MODULE public and private header directories are implicitly REQUIRED.
MODULE = security
INCLUDES += -I$(CORE_DEPTH)/nss/lib/softoken
# This next line is used by .mk files
# and gets translated into $LINCS in manifest.mnw
REQUIRES = dbm seccmd

View File

@@ -38,6 +38,7 @@
#include "nss.h"
#include "blapi.h"
#include "plgetopt.h"
#include "keylow.h"
#define MAX_RSA_MODULUS_BYTES (1024/8)