[erlang-patches] SSL verify_fun documentation is incorrect

Henrik Nord <>
Mon Feb 24 07:51:21 CET 2014


Hi!

Thank you for the patch.
Im not sure I can squeeze this into 17.0-rc2, if not it will have to 
wait until 17.0 is released in March

On 2014-02-21 17:43, Roger Lipscombe wrote:
> In http://www.erlang.org/doc/man/ssl.html, the spec for Event is
> missing the valid and valid_peer options. These are documented (sorta)
> further down in the page, but the spec is missing them.
>
> I _believe_ that this is the correct patch:
>
> diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
> index 80ef419..4513ecd 100644
> --- a/lib/ssl/doc/src/ssl.xml
> +++ b/lib/ssl/doc/src/ssl.xml
> @@ -233,7 +233,7 @@
>
>          <code>
>   fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
> -            {extension, #'Extension'{}}, InitialUserState :: term()) ->
> +            {extension, #'Extension'{}} | valid | valid_peer,
> InitialUserState :: term()) ->
>          {valid, UserState :: term()} | {valid_peer, UserState :: term()} |
>          {fail, Reason :: term()} | {unknown, UserState :: term()}.
>          </code>
>
> Regards,
> Roger.
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list