aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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