summaryrefslogtreecommitdiffstats
path: root/base/crypto/rsa_private_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/crypto/rsa_private_key.h')
-rw-r--r--base/crypto/rsa_private_key.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/crypto/rsa_private_key.h b/base/crypto/rsa_private_key.h
index ea5daac..ecec015 100644
--- a/base/crypto/rsa_private_key.h
+++ b/base/crypto/rsa_private_key.h
@@ -204,7 +204,9 @@ class RSAPrivateKey {
~RSAPrivateKey();
-#if defined(USE_NSS)
+#if defined(USE_OPENSSL)
+ EVP_PKEY* key() { return key_; }
+#elif defined(USE_NSS)
SECKEYPrivateKeyStr* key() { return key_; }
#elif defined(OS_WIN)
HCRYPTPROV provider() { return provider_; }