diff options
author | Ingela Anderton Andin <[email protected]> | 2019-05-27 12:08:42 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-05-27 12:08:42 +0200 |
commit | f1a366fe111bf39478e93062e69626364e91e3a1 (patch) | |
tree | 13be01abc64c1c8595b81bfbe7089bbd4df82abf | |
parent | 004aedfb9bc3b233569db2fdb4d42cd6b319e7f0 (diff) | |
parent | dd4031ee30933d221afd1446757b186f6847281f (diff) | |
download | otp-f1a366fe111bf39478e93062e69626364e91e3a1.tar.gz otp-f1a366fe111bf39478e93062e69626364e91e3a1.tar.bz2 otp-f1a366fe111bf39478e93062e69626364e91e3a1.zip |
Merge branch 'ingela/public_key/ERL-915/OTP-15843' into maint
* ingela/public_key/ERL-915/OTP-15843:
public_key: Update dialyzer specs to better conform to accepted input
-rw-r--r-- | lib/public_key/src/pubkey_pbe.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/src/pubkey_pbe.erl b/lib/public_key/src/pubkey_pbe.erl index e6bcedd1b1..38b5c93521 100644 --- a/lib/public_key/src/pubkey_pbe.erl +++ b/lib/public_key/src/pubkey_pbe.erl @@ -74,7 +74,7 @@ decode(Data, Password,"AES-256-CBC"= Cipher, KeyDevParams) -> %%-------------------------------------------------------------------- --spec pbdkdf1(string(), iodata(), integer(), atom()) -> binary(). +-spec pbdkdf1(iodata(), iodata(), integer(), atom()) -> binary(). %% %% Description: Implements password based decryption key derive function 1. %% Exported mainly for testing purposes. @@ -86,7 +86,7 @@ pbdkdf1(Password, Salt, Count, Hash) -> do_pbdkdf1(Result, Count-1, Result, Hash). %%-------------------------------------------------------------------- --spec pbdkdf2(string(), iodata(), integer(), integer(), fun(), atom(), integer()) +-spec pbdkdf2(iodata(), iodata(), integer(), integer(), fun(), atom(), integer()) -> binary(). %% %% Description: Implements password based decryption key derive function 2. |