diff options
author | Ingela Anderton Andin <[email protected]> | 2013-11-04 16:41:03 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-12-02 09:50:03 +0100 |
commit | 95db85ba3581b9b8722239fb1accc8a4a2d6c2e5 (patch) | |
tree | 15382f381eb4250fb97c36764979c73d5fad4fe7 /lib/public_key/src | |
parent | f606903e2b714721b57d1d73a17d31b02f85ef07 (diff) | |
download | otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.gz otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.tar.bz2 otp-95db85ba3581b9b8722239fb1accc8a4a2d6c2e5.zip |
ssl, public_key: Dialyzer fixes
Diffstat (limited to 'lib/public_key/src')
-rw-r--r-- | lib/public_key/src/public_key.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl index a4b6b8ad15..ceecbcc7f2 100644 --- a/lib/public_key/src/public_key.erl +++ b/lib/public_key/src/public_key.erl @@ -333,7 +333,7 @@ encrypt_private(PlainText, crypto:private_encrypt(rsa, PlainText, format_rsa_private_key(Key), Padding). %%-------------------------------------------------------------------- --spec generate_key(#'DHParameter'{} | {namedCurve, Name ::atom()} | +-spec generate_key(#'DHParameter'{} | {namedCurve, Name ::oid()} | #'ECParameters'{}) -> {Public::binary(), Private::binary()} | #'ECPrivateKey'{}. %% Description: Generates a new keypair |