| Index: crypto/ec_private_key.h
|
| diff --git a/crypto/ec_private_key.h b/crypto/ec_private_key.h
|
| index 44f754b038c9e30d45dec3545b4779f4c1759b1a..0851fe475faea414c28d75950b36ebba5ca3b0f7 100644
|
| --- a/crypto/ec_private_key.h
|
| +++ b/crypto/ec_private_key.h
|
| @@ -21,6 +21,7 @@ typedef struct evp_pkey_st EVP_PKEY;
|
| typedef struct CERTSubjectPublicKeyInfoStr CERTSubjectPublicKeyInfo;
|
| typedef struct SECKEYPrivateKeyStr SECKEYPrivateKey;
|
| typedef struct SECKEYPublicKeyStr SECKEYPublicKey;
|
| +typedef struct PK11SlotInfoStr PK11SlotInfo;
|
| #endif
|
|
|
| namespace crypto {
|
| @@ -80,6 +81,10 @@ class CRYPTO_EXPORT ECPrivateKey {
|
| bool sensitive,
|
| SECKEYPrivateKey** key,
|
| SECKEYPublicKey** public_key);
|
| +
|
| + // Returns a reference to the NSS slot that will be used to generate / store
|
| + // the private key.
|
| + static PK11SlotInfo* GetKeySlot();
|
| #endif
|
|
|
| #if defined(USE_OPENSSL)
|
|
|