summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2002-06-10 20:33:31 +0000
committerrelyea%netscape.com <devnull@localhost>2002-06-10 20:33:31 +0000
commitef6eba3078357786bcb544f685f9a4beedbd05b7 (patch)
treeb521019ad46527df79ac140a7688f197f7f07ed6
parent40652513590e714fedefbd4c9f3170ef642d857d (diff)
downloadnss-hg-ef6eba3078357786bcb544f685f9a4beedbd05b7.tar.gz
Return public and private keys in the order specified by the PKCS #11 spec.
-rw-r--r--security/nss/lib/softoken/pkcs11c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/pkcs11c.c b/security/nss/lib/softoken/pkcs11c.c
index d4dfc1b75..f5107e433 100644
--- a/security/nss/lib/softoken/pkcs11c.c
+++ b/security/nss/lib/softoken/pkcs11c.c
@@ -3005,8 +3005,8 @@ CK_RV NSC_GenerateKey(CK_SESSION_HANDLE hSession,
CK_RV NSC_GenerateKeyPair (CK_SESSION_HANDLE hSession,
CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate,
CK_ULONG ulPublicKeyAttributeCount, CK_ATTRIBUTE_PTR pPrivateKeyTemplate,
- CK_ULONG ulPrivateKeyAttributeCount, CK_OBJECT_HANDLE_PTR phPrivateKey,
- CK_OBJECT_HANDLE_PTR phPublicKey)
+ CK_ULONG ulPrivateKeyAttributeCount, CK_OBJECT_HANDLE_PTR phPublicKey,
+ CK_OBJECT_HANDLE_PTR phPrivateKey)
{
PK11Object * publicKey,*privateKey;
PK11Session * session;