diff options
author | Ingela Anderton Andin <[email protected]> | 2010-12-01 10:28:24 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2010-12-01 10:28:24 +0100 |
commit | 6a0877cc8ff8157e055d6216dfee2293c648601c (patch) | |
tree | 487fb9579e28aaebdb95ef203f2b3351c5a16b71 /lib/public_key/test | |
parent | 7369151bc24d9d3b0b1ebed19a1a7d0df9101a81 (diff) | |
parent | 3326cab005954dc6ba6c6596f77b5882b77f6be2 (diff) | |
download | otp-6a0877cc8ff8157e055d6216dfee2293c648601c.tar.gz otp-6a0877cc8ff8157e055d6216dfee2293c648601c.tar.bz2 otp-6a0877cc8ff8157e055d6216dfee2293c648601c.zip |
Merge branch 'ia/ssl-and-public_key-doc-and-dialyzer-fixes' into dev
* ia/ssl-and-public_key-doc-and-dialyzer-fixes:
Fixed guard and test case
Fixed broken links in the documentation and dialyzer warnings
Diffstat (limited to 'lib/public_key/test')
-rw-r--r-- | lib/public_key/test/public_key_SUITE.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/public_key/test/public_key_SUITE.erl b/lib/public_key/test/public_key_SUITE.erl index 81e01f3a02..88cfbcf2b6 100644 --- a/lib/public_key/test/public_key_SUITE.erl +++ b/lib/public_key/test/public_key_SUITE.erl @@ -249,10 +249,8 @@ sign_verify(Config) when is_list(Config) -> true = public_key:pkix_verify(Cert2, {Y, #'Dss-Parms'{p=P, q=Q, g=G}}), %% RSA sign - Msg0 = lists:duplicate(5, "Foo bar 100"), - Msg = list_to_binary(Msg0), + Msg = list_to_binary(lists:duplicate(5, "Foo bar 100")), - RSASign = public_key:sign(Msg0, sha, PrivateRSA), RSASign = public_key:sign(Msg, sha, PrivateRSA), true = public_key:verify(Msg, sha, RSASign, PublicRSA), false = public_key:verify(<<1:8, Msg/binary>>, sha, RSASign, PublicRSA), |