[erlang-questions] Unknown error while using SSL/TLS

Amin Arria amin.arria@REDACTED
Fri Aug 10 16:49:05 CEST 2018


Hi, sorry for the delay.

I couldn't test the patch directly, but with the new OTP 20.3.8.5 (that has
the patch) everything works fine.

Thank you Ingela and Leo!

On Thu, Aug 9, 2018 at 5:39 AM, Leo Liu <sdl.web@REDACTED> wrote:

> On 2018-08-09 09:53 +0200, Ingela Andin wrote:
> > Hi!
> >
> >
> > I  believe the bug could be solved by the following patch:
>
> Yes, fix the issue here. Amin, can you verify it also fixes the issue
> you were seeing?
>
> Leo
>
> >
> > diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl
> > index 40d974f..aa453fe 100644
> > --- a/lib/ssl/src/ssl_cipher.erl
> > +++ b/lib/ssl/src/ssl_cipher.erl
> > @@ -2555,6 +2555,8 @@ ecdsa_signed_suites(Ciphers, Version) ->
> >
> >  rsa_keyed(dhe_rsa) ->
> >      true;
> > +rsa_keyed(ecdhe_rsa) ->
> > +    true;
> >  rsa_keyed(rsa) ->
> >      true;
> >  rsa_keyed(rsa_psk) ->
> > @@ -2618,6 +2620,8 @@ ec_keyed(ecdh_ecdsa) ->
> >      true;
> >  ec_keyed(ecdh_rsa) ->
> >      true;
> > +ec_keyed(ecdhe_ecdsa) ->
> > +    true;
> >  ec_keyed(_) ->
> >      false.
> >
> >
> > Regards Ingela Erlang/OTP Team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180810/d7a6ef63/attachment.htm>


More information about the erlang-questions mailing list