Correct an afternm bug in the test cases.
This commit is contained in:
parent
50b0058335
commit
69051e1803
@ -231,7 +231,7 @@ prop_afternm_correct() ->
|
|||||||
false ->
|
false ->
|
||||||
try enacl:box_afternm(Msg, Nonce, Key) of
|
try enacl:box_afternm(Msg, Nonce, Key) of
|
||||||
CipherText ->
|
CipherText ->
|
||||||
try enacl:box_open_afternm(Msg, Nonce, Key) of
|
try enacl:box_open_afternm(CipherText, Nonce, Key) of
|
||||||
{ok, _M} -> false;
|
{ok, _M} -> false;
|
||||||
{error, failed_validation} -> false
|
{error, failed_validation} -> false
|
||||||
catch
|
catch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user