diff options
author | Jxck <[email protected]> | 2017-12-11 16:27:01 +0900 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-12-19 17:23:59 +0100 |
commit | 0b75478c4acd6c22311f5f516ac5fcdca4a16b28 (patch) | |
tree | a9dfdef3eece3b10d6a66cb802c275e61738bd13 /lib/ssl/src/ssl_handshake.erl | |
parent | 9cbab81f1a38f568fd0bf9738230ce2ebeab0191 (diff) | |
download | otp-0b75478c4acd6c22311f5f516ac5fcdca4a16b28.tar.gz otp-0b75478c4acd6c22311f5f516ac5fcdca4a16b28.tar.bz2 otp-0b75478c4acd6c22311f5f516ac5fcdca4a16b28.zip |
remove duplicate operation for decode certificate
completely deprecated operation with no effect.
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index fd437f62d2..5e687b1bb7 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -1034,7 +1034,6 @@ select_hashsign(HashSigns, Cert, KeyExAlgo, select_hashsign(HashSigns, Cert, KeyExAlgo, tls_v1:default_signature_algs(Version), Version); select_hashsign(#hash_sign_algos{hash_sign_algos = HashSigns}, Cert, KeyExAlgo, SupportedHashSigns, {Major, Minor}) when Major >= 3 andalso Minor >= 3 -> - #'OTPCertificate'{tbsCertificate = TBSCert} = public_key:pkix_decode_cert(Cert, otp), #'OTPCertificate'{tbsCertificate = TBSCert, signatureAlgorithm = {_,SignAlgo, _}} = public_key:pkix_decode_cert(Cert, otp), #'OTPSubjectPublicKeyInfo'{algorithm = {_, SubjAlgo, _}} = |