diff options
author | Péter Dimitrov <[email protected]> | 2019-01-30 10:30:10 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-01-30 10:30:10 +0100 |
commit | 4c25910dcaafe59e074afec9a2835d16f187f467 (patch) | |
tree | 784c24ef326fee781562db0910c2cb4fcfc85d59 /lib | |
parent | de136fbb15a360a8e1b138454130d314e31cfa22 (diff) | |
parent | 91686262b52a95aa06d0272e98fe610d84121b90 (diff) | |
download | otp-4c25910dcaafe59e074afec9a2835d16f187f467.tar.gz otp-4c25910dcaafe59e074afec9a2835d16f187f467.tar.bz2 otp-4c25910dcaafe59e074afec9a2835d16f187f467.zip |
Merge branch 'peterdmv/crypto/fix-type-specs'
* peterdmv/crypto/fix-type-specs:
crypto: Fix type spec rsa_sign_verify_opt()
Change-Id: Ib7c46c850f29d583a645e78a7e87f334c784518d
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/src/crypto.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index 6836e30a1b..987bc3fe0f 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -914,7 +914,8 @@ rand_seed_nif(_Seed) -> ?nif_stub. -type pk_sign_verify_opts() :: [ rsa_sign_verify_opt() ] . -type rsa_sign_verify_opt() :: {rsa_padding, rsa_sign_verify_padding()} - | {rsa_pss_saltlen, integer()} . + | {rsa_pss_saltlen, integer()} + | {rsa_mgf1_md, sha2()}. -type rsa_sign_verify_padding() :: rsa_pkcs1_padding | rsa_pkcs1_pss_padding | rsa_x931_padding | rsa_no_padding |