aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-04-08 09:20:57 +0200
committerIngela Anderton Andin <[email protected]>2013-04-08 09:20:57 +0200
commit36bb8d80364d45038bdd8de96601e24fb8d6d4ce (patch)
treecaee6865d6101471209e7832eac7588962db3288 /lib/ssl
parentb9ef8bac23fa0421765afe3073f430a1f0d92260 (diff)
parentc8ecc846b24a82d010bc73e7b559c0903e332af8 (diff)
downloadotp-36bb8d80364d45038bdd8de96601e24fb8d6d4ce.tar.gz
otp-36bb8d80364d45038bdd8de96601e24fb8d6d4ce.tar.bz2
otp-36bb8d80364d45038bdd8de96601e24fb8d6d4ce.zip
Merge branch 'ia/ssl/crypto/PSK-SRP/doc' into maint
* ia/ssl/crypto/PSK-SRP/doc: ssl & crypto: Documentation enhancements
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/doc/src/ssl.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
index 2501db858a..d5615fecfc 100644
--- a/lib/ssl/doc/src/ssl.xml
+++ b/lib/ssl/doc/src/ssl.xml
@@ -305,9 +305,9 @@ fun(OtpCert :: #'OTPCertificate'{}, Event :: {bad_cert, Reason :: atom()} |
<item>
<p>The lookup fun should be defined as:</p>
<code>
-fun(psk, PSKIdentity, UserState :: term()) ->
+fun(psk, PSKIdentity ::string(), UserState :: term()) ->
{ok, SharedSecret :: binary()} | error;
-fun(srp, Username, UserState :: term()) ->
+fun(srp, Username :: string(), UserState :: term()) ->
{ok, {SRPParams :: srp_param_type(), Salt :: binary(), DerivedKey :: binary()}} | error.
</code>