crypto:start() return value differs from manual

Ulf Wiger (AL/EAB) <>
Thu Mar 10 11:31:08 CET 2005

crypto:start() -> ok.

is what the manual states (OTP R10B-2), but the function can also return {error, {already_started,crypto}}.

>From crypto.erl:

start() ->

The manual for application says:

start(Application) -> ok | {error, Reason} 

I have made no patch. The code or the manual should be corrected.


More information about the erlang-bugs mailing list