[erlang-bugs] Wrong type for ssl key option

Ingela Anderton Andin ingela.anderton.andin@REDACTED
Fri May 17 15:57:09 CEST 2013


Hi!

Loïc Hoguin wrote:
> Type ssl_option() says: {key, Der::binary()}
>
> Documentation says: {key, {'RSAPrivateKey'| 'DSAPrivateKey' | 
> 'PrivateKeyInfo', der_encoded()}}
>
> I believe the documentation is correct and the code wrong.
>
> Please confirm.
>

You are correct the dialyzer spec is incorrect!

Regards Ingela Erlang/OTP team - Ericsson AB



More information about the erlang-bugs mailing list