aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-06-10 09:53:18 +0200
committerIngela Anderton Andin <[email protected]>2013-06-10 09:53:18 +0200
commit867e19e98095275ee4d3e102de269f60c52fdb45 (patch)
tree7f2488d1f75191824fc9affd18389951b42e1482 /lib/public_key/src
parent24a7d69e1272184a849a2a01bcfc476fc880b356 (diff)
parentf7c480076d34ff6666e9f15c992792817aab5078 (diff)
downloadotp-867e19e98095275ee4d3e102de269f60c52fdb45.tar.gz
otp-867e19e98095275ee4d3e102de269f60c52fdb45.tar.bz2
otp-867e19e98095275ee4d3e102de269f60c52fdb45.zip
Merge remote-tracking branch 'upstream/maint'
Diffstat (limited to 'lib/public_key/src')
-rw-r--r--lib/public_key/src/public_key.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 3eea6f6ec4..cdbfe6e07c 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -252,8 +252,7 @@ decrypt_private(CipherText, Key) ->
decrypt_private(CipherText, Key, []).
decrypt_private(CipherText,
- #'RSAPrivateKey'{modulus = N, publicExponent = E,
- privateExponent = D} = Key,
+ #'RSAPrivateKey'{} = Key,
Options)
when is_binary(CipherText),
is_list(Options) ->