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

Leo Liu sdl.web@REDACTED
Thu Aug 9 10:39:20 CEST 2018


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



More information about the erlang-questions mailing list