aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-12 16:43:17 +0200
committerHans Nilsson <[email protected]>2018-06-12 16:43:17 +0200
commitc0a3f280143dd7ed0839f546ef42b4258b25b20a (patch)
treeb9ba4b6f18ecc2986cc5823aa389c10d6bac50a0 /lib
parent58f7f2046ec48927c9f41d8e82510959c4c4ae3b (diff)
downloadotp-c0a3f280143dd7ed0839f546ef42b4258b25b20a.tar.gz
otp-c0a3f280143dd7ed0839f546ef42b4258b25b20a.tar.bz2
otp-c0a3f280143dd7ed0839f546ef42b4258b25b20a.zip
public: minor doc fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/public_key/doc/src/public_key.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml
index 30ec70aa9b..524869df16 100644
--- a/lib/public_key/doc/src/public_key.xml
+++ b/lib/public_key/doc/src/public_key.xml
@@ -992,7 +992,7 @@ fun(#'DistributionPoint'{}, #'CertificateList'{},
<item>
The <c>fun/2</c> in this option replaces the default host name matching rules. The fun should return a
boolean to tell if the Reference ID and Presented ID matches or not. The fun can also return a third
- value. the atom <c>default</c>, if the default matching rules shall apply.
+ value, the atom <c>default</c>, if the default matching rules shall apply.
This makes it possible to augment the tests with a special case:
<code>
fun(....) -> true; % My special case
@@ -1007,7 +1007,7 @@ end
<tag><c>fail_callback</c></tag>
<item>If a matching fails, there could be circumstances when the certificate should be accepted anyway. Think for
- example of a web browser where you choose to accept an outdated certificate. This options enables implementation
+ example of a web browser where you choose to accept an outdated certificate. This option enables implementation
of such a function. This <c>fun/1</c> is called when no <c>ReferenceID</c> matches. The return value of the fun
(a <c>boolean()</c>) decides the outcome. If <c>true</c> the the certificate is accepted otherwise
it is rejected. See