aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-12 16:43:45 +0200
committerHans Nilsson <[email protected]>2018-06-12 16:43:45 +0200
commitb9289f8cc3a97b22b7bfdb2acfef1dc5aec6893e (patch)
treeb9ba4b6f18ecc2986cc5823aa389c10d6bac50a0 /lib
parentf9327f6fccc906e1928fb09dd32ac50a593325d9 (diff)
parentc0a3f280143dd7ed0839f546ef42b4258b25b20a (diff)
downloadotp-b9289f8cc3a97b22b7bfdb2acfef1dc5aec6893e.tar.gz
otp-b9289f8cc3a97b22b7bfdb2acfef1dc5aec6893e.tar.bz2
otp-b9289f8cc3a97b22b7bfdb2acfef1dc5aec6893e.zip
Merge branch 'hans/public_key/cuddle_docs'
* hans/public_key/cuddle_docs: 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