[erlang-bugs] SSL key option docs incorrect?

Loïc Hoguin essen@REDACTED
Tue Aug 18 10:38:41 CEST 2015


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?

-- 
Loïc Hoguin
http://ninenines.eu
Author of The Erlanger Playbook,
A book about software development using Erlang



More information about the erlang-bugs mailing list