[erlang-bugs] SSL key option docs incorrect?
Ingela Anderton Andin
Ingela.Anderton.Andin@REDACTED
Tue Aug 18 10:44:57 CEST 2015
Hi!
It is a bug, there is a PR request to solve it, but it is missing a test
case. http://www.github.com/erlang/otp/pull/801
Have not had time to make one myself yet.
Regards Ingela Erlang OTP/Team - Ericsson AB
On 08/18/2015 10:38 AM, Loïc Hoguin wrote:
> Reading http://www.erlang.org/doc/man/ssl.html
>
> {key, {'RSAPrivateKey'| 'DSAPrivateKey' | 'ECPrivateKey'
> |'PrivateKeyInfo', public_key:der_encoded()}}
> The DER-encoded user's private key. If this option is supplied, it
> overrides option keyfile.
>
> However the code says this:
>
> https://github.com/erlang/otp/blob/master/lib/ssl/src/ssl.erl#L802
>
> Doesn't look like it allows 'ECPrivateKey' here?
>
More information about the erlang-bugs
mailing list