Changeset 166

Show
Ignore:
Timestamp:
10/13/09 11:17:34 (10 months ago)
Author:
lrousseau
Message:

PKCS11Lib::C_GenerateKeyPair(): fix a typo outhPublicKey ->
outhPrivateKey

Fix bug #924 "C_GenerateKeyPair fails to return proper key handles."

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pykcs11/trunk/src/pkcs11lib.cpp

    r162 r166  
    850850                DestroyTemplate(pPrivateKeyTemplate, ulPrivateKeyAttributeCount); 
    851851        outhPublicKey = static_cast<CK_OBJECT_HANDLE>(hPublicKey); 
    852         outhPublicKey = static_cast<CK_OBJECT_HANDLE>(hPrivateKey); 
     852        outhPrivateKey = static_cast<CK_OBJECT_HANDLE>(hPrivateKey); 
    853853        CPKCS11LIB_EPILOGUE; 
    854854        return rv; 
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006