From ea4558738ab3742c0de54e0ec64c78ca0cf9f457 Mon Sep 17 00:00:00 2001 From: Jesper Louis Andersen Date: Tue, 16 Dec 2014 16:59:30 +0100 Subject: [PATCH] Fix typo in spec, unbreak compilation. --- src/enacl.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enacl.erl b/src/enacl.erl index 3f11c9f..01fdd7e 100644 --- a/src/enacl.erl +++ b/src/enacl.erl @@ -185,7 +185,7 @@ box(Msg, Nonce, PK, SK) -> %% Decrypt a `CipherText` into a `Msg` given the other partys public key `PK` and your secret %% key `SK`. Also requires the same nonce as was used by the other party. Returns the plaintext %% message. --spec box_open(CipherText, Nonce, PK, SK) -> {ok, M} | {error, failed_verification} +-spec box_open(CipherText, Nonce, PK, SK) -> {ok, Msg} | {error, failed_verification} when CipherText :: iodata(), Nonce :: binary(), PK :: binary(),