Commit 69051e18 authored by Jesper Louis Andersen's avatar Jesper Louis Andersen
Browse files

Correct an afternm bug in the test cases.

parent 50b00583
......@@ -231,7 +231,7 @@ prop_afternm_correct() ->
false ->
try enacl:box_afternm(Msg, Nonce, Key) of
CipherText ->
try enacl:box_open_afternm(Msg, Nonce, Key) of
try enacl:box_open_afternm(CipherText, Nonce, Key) of
{ok, _M} -> false;
{error, failed_validation} -> false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment