aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/doc
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-04-05 12:21:59 +0200
committerIngela Anderton Andin <[email protected]>2013-04-05 12:24:56 +0200
commitc8ecc846b24a82d010bc73e7b559c0903e332af8 (patch)
tree205a9e5ee66f283f3e18b46313019a737a3c00e2 /lib/ssl/doc
parentb8e72765305590eb7c89166ce261843d54c9bcde (diff)
downloadotp-c8ecc846b24a82d010bc73e7b559c0903e332af8.tar.gz
otp-c8ecc846b24a82d010bc73e7b559c0903e332af8.tar.bz2
otp-c8ecc846b24a82d010bc73e7b559c0903e332af8.zip
ssl & crypto: Documentation enhancements
OTP-10450
Diffstat (limited to 'lib/ssl/doc')
-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>