Fix typo 'is an error occurred' in documentation
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 11 May 2018 14:58:44 +0000 (16:58 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 11 May 2018 15:03:26 +0000 (17:03 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6230)

doc/crypto/CMS_get0_SignerInfos.pod
doc/crypto/CMS_get1_ReceiptRequest.pod
doc/crypto/OBJ_nid2obj.pod
doc/crypto/SMIME_read_PKCS7.pod

index e5532c96f4407c14139f5fe61fa8aafea710eb8d..70232cdaf9c1ddd29c144f432d1e686d55ab4d89 100644 (file)
@@ -54,7 +54,7 @@ CMS_SignerInfo_set1_signer_cert().
 
 Once all signer certificates have been set CMS_verify() can be used.
 
-Although CMS_get0_SignerInfos() can return NULL is an error occur B<or> if
+Although CMS_get0_SignerInfos() can return NULL if an error occurs B<or> if
 there are no signers this is not a problem in practice because the only
 error which can occur is if the B<cms> structure is not of type signedData
 due to application error.
index 79f5f4232dd1d5dfabdac905ffe59838b3bcb2f6..9a49bf6a86e44edec9d27fd71d9813ab9445f19e 100644 (file)
@@ -48,7 +48,7 @@ CMS_verify().
 CMS_ReceiptRequest_create0() returns a signed receipt request structure or
 NULL if an error occurred.
 
-CMS_add1_ReceiptRequest() returns 1 for success or 0 is an error occurred.
+CMS_add1_ReceiptRequest() returns 1 for success or 0 if an error occurred.
 
 CMS_get1_ReceiptRequest() returns 1 is a signed receipt request is found and
 decoded. It returns 0 if a signed receipt request is not present and -1 if
index 3ada6679cf92b7d47e68e1532a562cdaa7a4ebbb..82e5bcdd94cdeefaeeab84311a8eeedb73c85d31 100644 (file)
@@ -54,7 +54,7 @@ constants.
 
 OBJ_nid2obj(), OBJ_nid2ln() and OBJ_nid2sn() convert the NID B<n> to
 an ASN1_OBJECT structure, its long name and its short name respectively,
-or B<NULL> is an error occurred.
+or B<NULL> if an error occurred.
 
 OBJ_obj2nid(), OBJ_ln2nid(), OBJ_sn2nid() return the corresponding NID
 for the object B<o>, the long name <ln> or the short name <sn> respectively
index 3eb8bbc9a0f81268ef9f53259b013afe7b130df1..40973d3f4473676f4dac7c494d9602a91591defd 100644 (file)
@@ -57,7 +57,7 @@ streaming single pass option should be available.
 =head1 RETURN VALUES
 
 SMIME_read_PKCS7() returns a valid B<PKCS7> structure or B<NULL>
-is an error occurred. The error can be obtained from ERR_get_error(3).
+if an error occurred. The error can be obtained from ERR_get_error(3).
 
 =head1 SEE ALSO