aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-02-02 10:07:23 +0100
committerIngela Anderton Andin <[email protected]>2015-02-02 10:07:23 +0100
commit92a0424a0ece205072516e97086b5986986dca37 (patch)
treeb4fc5072fc3b61351e3c7c4305de77cbd1d2c786 /lib/ssl/src
parent3051ca1fa0d27adee5abbccce10351a07ab7daa1 (diff)
parentedf6a220668d7461044918c10190b41ea7a4891d (diff)
downloadotp-92a0424a0ece205072516e97086b5986986dca37.tar.gz
otp-92a0424a0ece205072516e97086b5986986dca37.tar.bz2
otp-92a0424a0ece205072516e97086b5986986dca37.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_certificate.erl2
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.