diff options
author | Ingela Anderton Andin <[email protected]> | 2015-02-02 10:05:33 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-02-02 10:05:33 +0100 |
commit | edf6a220668d7461044918c10190b41ea7a4891d (patch) | |
tree | 8778e5a9fa167e0a80980ceed8f406486a4fe63c /lib/ssl/src | |
parent | 6f19eae6d1df8d6892a3f665d3cf38d3cc5359fc (diff) | |
parent | 158447e03d6de6201b4cbb7244e406ea873fa3a3 (diff) | |
download | otp-edf6a220668d7461044918c10190b41ea7a4891d.tar.gz otp-edf6a220668d7461044918c10190b41ea7a4891d.tar.bz2 otp-edf6a220668d7461044918c10190b41ea7a4891d.zip |
Merge branch 'ia/ssl/self-signed-root/OTP-12449' into maint
* ia/ssl/self-signed-root/OTP-12449:
ssl: Remove selfsigned anchor certificate from the certificate chain
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl_certificate.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_certificate.erl b/lib/ssl/src/ssl_certificate.erl index 9c0ed181fe..30d224fee2 100644 --- a/lib/ssl/src/ssl_certificate.erl +++ b/lib/ssl/src/ssl_certificate.erl @@ -282,7 +282,7 @@ other_issuer(OtpCert, CertDbHandle) -> handle_path({BinCert, OTPCert}, Path, PartialChainHandler) -> case public_key:pkix_is_self_signed(OTPCert) of true -> - {BinCert, Path}; + {BinCert, lists:delete(BinCert, Path)}; false -> handle_incomplete_chain(Path, PartialChainHandler) end. |