summaryrefslogtreecommitdiff
path: root/dlltest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
committerJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
commit5efb019d8bdc593b3c1a0b57d615b170c7dab02a (patch)
treee2c10e737542fd13ea50b58480e0791bbc455e47 /dlltest.cpp
parent5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff)
downloadcryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'dlltest.cpp')
-rw-r--r--dlltest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlltest.cpp b/dlltest.cpp
index 6b6ed332..27def6f0 100644
--- a/dlltest.cpp
+++ b/dlltest.cpp
@@ -175,8 +175,8 @@ void FIPS140_SampleApplication()
#ifdef CRYPTOPP_IMPORTS
-static PNew s_pNew = NULL;
-static PDelete s_pDelete = NULL;
+static PNew s_pNew = NULLPTR;
+static PDelete s_pDelete = NULLPTR;
extern "C" __declspec(dllexport) void __cdecl SetNewAndDeleteFromCryptoPP(PNew pNew, PDelete pDelete, PSetNewHandler pSetNewHandler)
{