LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 1246-public-minor-doc-fixes.patch of Package erlang (Project home:Ledest:erlang:20)

From c0a3f280143dd7ed0839f546ef42b4258b25b20a Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Tue, 12 Jun 2018 16:43:17 +0200
Subject: [PATCH] public: minor doc fixes

---
 lib/public_key/doc/src/public_key.xml | 4 ++--
 1 file 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
-- 
2.16.4