summaryrefslogtreecommitdiffstats
path: root/km_openssl/rsa_key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'km_openssl/rsa_key.cpp')
-rw-r--r--km_openssl/rsa_key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/km_openssl/rsa_key.cpp b/km_openssl/rsa_key.cpp
index dccda02..8b5b6ae 100644
--- a/km_openssl/rsa_key.cpp
+++ b/km_openssl/rsa_key.cpp
@@ -25,7 +25,7 @@ namespace keymaster {
bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) {
rsa_key_.reset(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(pkey)));
- return rsa_key_.get() != NULL;
+ return rsa_key_.get() != nullptr;
}
bool RsaKey::InternalToEvp(EVP_PKEY* pkey) const {