From c0a3f280143dd7ed0839f546ef42b4258b25b20a Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Tue, 12 Jun 2018 16:43:17 +0200 Subject: public: minor doc fixes --- lib/public_key/doc/src/public_key.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public_key/doc/src') 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'{}, The fun/2 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 default, if the default matching rules shall apply. + value, the atom default, if the default matching rules shall apply. This makes it possible to augment the tests with a special case: fun(....) -> true; % My special case @@ -1007,7 +1007,7 @@ end fail_callback 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 fun/1 is called when no ReferenceID matches. The return value of the fun (a boolean()) decides the outcome. If true the the certificate is accepted otherwise it is rejected. See -- cgit v1.2.3