aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/get_enc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/get_enc.cpp')
-rw-r--r--src/libstate/get_enc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstate/get_enc.cpp b/src/libstate/get_enc.cpp
index b7c9a7146..00297464b 100644
--- a/src/libstate/get_enc.cpp
+++ b/src/libstate/get_enc.cpp
@@ -151,7 +151,7 @@ EME* get_eme(const std::string& algo_spec)
Algorithm_Factory& af = global_state().algorithm_factory();
if(request.algo_name() == "Raw")
- return 0; // No padding
+ return nullptr; // No padding
#if defined(BOTAN_HAS_EME_PKCS1v15)
if(request.algo_name() == "PKCS1v15" && request.arg_count() == 0)
@@ -182,7 +182,7 @@ KDF* get_kdf(const std::string& algo_spec)
Algorithm_Factory& af = global_state().algorithm_factory();
if(request.algo_name() == "Raw")
- return 0; // No KDF
+ return nullptr; // No KDF
#if defined(BOTAN_HAS_KDF1)
if(request.algo_name() == "KDF1" && request.arg_count() == 1)