Chromium Code Reviews| Index: crypto/rsa_private_key.h |
| diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h |
| index cb190677b166641443229012d5fa7379eb384806..2eb93ee80dba88b4f66e1915d3455f8f3c8539e2 100644 |
| --- a/crypto/rsa_private_key.h |
| +++ b/crypto/rsa_private_key.h |
| @@ -216,6 +216,11 @@ class CRYPTO_EXPORT RSAPrivateKey { |
| static RSAPrivateKey* FindFromPublicKeyInfoInSlot( |
| const std::vector<uint8>& input, |
| PK11SlotInfo* slot); |
| +#elif defined(USE_OPENSSL) |
| + // Create a new instance by referencing an existing private key |
| + // structure. Does not import the key. |
|
davidben
2014/09/09 18:28:57
Nit: What does "Does not import the key" mean in t
dougsteed
2014/09/09 21:05:47
Done.
|
| + static RSAPrivateKey* CreateFromKey(EVP_PKEY* key); |
| + |
| #endif |
| #if defined(USE_OPENSSL) |