aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-05-27 12:08:42 +0200
committerIngela Anderton Andin <[email protected]>2019-05-27 12:08:42 +0200
commitf1a366fe111bf39478e93062e69626364e91e3a1 (patch)
tree13be01abc64c1c8595b81bfbe7089bbd4df82abf /lib
parent004aedfb9bc3b233569db2fdb4d42cd6b319e7f0 (diff)
parentdd4031ee30933d221afd1446757b186f6847281f (diff)
downloadotp-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
Diffstat (limited to 'lib')
-rw-r--r--lib/public_key/src/pubkey_pbe.erl4
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.