aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/pk_algs.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-18 20:44:34 +0000
committerlloyd <[email protected]>2012-05-18 20:44:34 +0000
commit8383b0b503c812e45f2780217b048a19a8946853 (patch)
tree939403bad80ee2b1e13b69c82adc316422a9c7d6 /src/pubkey/pk_algs.cpp
parentc691561f3198f481c13457433efbccc1c9fcd898 (diff)
Replace 0 and NULL pointer constants with nullptr. Also fix an old
style cast in secmem.h
Diffstat (limited to 'src/pubkey/pk_algs.cpp')
-rw-r--r--src/pubkey/pk_algs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/pk_algs.cpp b/src/pubkey/pk_algs.cpp
index 863eb57e4..9673199e0 100644
--- a/src/pubkey/pk_algs.cpp
+++ b/src/pubkey/pk_algs.cpp
@@ -98,7 +98,7 @@ Public_Key* make_public_key(const AlgorithmIdentifier& alg_id,
return new ECDH_PublicKey(alg_id, key_bits);
#endif
- return 0;
+ return nullptr;
}
Private_Key* make_private_key(const AlgorithmIdentifier& alg_id,
@@ -154,7 +154,7 @@ Private_Key* make_private_key(const AlgorithmIdentifier& alg_id,
return new ECDH_PrivateKey(alg_id, key_bits);
#endif
- return 0;
+ return nullptr;
}
}