From 2ffa70fbc65d6db23ad20ec9e6bd9975cd6a9b49 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 6 Jul 2019 15:57:08 -0400 Subject: Clear asserts under DEBUG builds --- validat6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'validat6.cpp') diff --git a/validat6.cpp b/validat6.cpp index 16df05ab..798554e6 100644 --- a/validat6.cpp +++ b/validat6.cpp @@ -41,7 +41,7 @@ bool CryptoSystemValidate(PK_Decryptor &priv, PK_Encryptor &pub, bool thorough) std::cout << (fail ? "FAILED " : "passed "); std::cout << "cryptosystem key validation\n"; - const byte *message = (byte *)"test message"; + const byte message[] = "test message"; const int messageLen = 12; SecByteBlock ciphertext(priv.CiphertextLength(messageLen)); SecByteBlock plaintext(priv.MaxPlaintextLength(ciphertext.size())); -- cgit v1.2.1