Fix typo in spec, unbreak compilation.

This commit is contained in:
Jesper Louis Andersen 2014-12-16 16:59:30 +01:00
parent cf08e5446f
commit ea4558738a

View File

@ -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 %% 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 %% key `SK`. Also requires the same nonce as was used by the other party. Returns the plaintext
%% message. %% 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(), when CipherText :: iodata(),
Nonce :: binary(), Nonce :: binary(),
PK :: binary(), PK :: binary(),