diff options
author | Hans Nilsson <[email protected]> | 2017-11-22 11:58:34 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-11-22 11:58:34 +0100 |
commit | 9198b5075e25250c15145b942a9d0c4ea023896e (patch) | |
tree | 6cb6ec15a612ba871d5e16a5dc8564c08e47f3e7 /lib/crypto/src | |
parent | 7ac552d858a3c611052d6b109314feb509d6cc01 (diff) | |
parent | a41bfcdf524dd94a9a760ab3dd0d375896e5a7f7 (diff) | |
download | otp-9198b5075e25250c15145b942a9d0c4ea023896e.tar.gz otp-9198b5075e25250c15145b942a9d0c4ea023896e.tar.bz2 otp-9198b5075e25250c15145b942a9d0c4ea023896e.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/crypto/src')
-rw-r--r-- | lib/crypto/src/crypto.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index 9ba1623348..91e154280f 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -1100,7 +1100,7 @@ ec_curve(X) -> privkey_to_pubkey(Alg, EngineMap) when Alg == rsa; Alg == dss; Alg == ecdsa -> - case privkey_to_pubkey_nif(Alg, format_pkey(Alg,EngineMap)) of + case notsup_to_error(privkey_to_pubkey_nif(Alg, format_pkey(Alg,EngineMap))) of [_|_]=L -> map_ensure_bin_as_int(L); X -> X end. |