From: Andreas Metzler Date: Sat, 26 Aug 2017 15:49:28 +0000 (+0200) Subject: Fix some typos [ci skip] X-Git-Tag: gnutls_3_6_1~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36e1ebac5d64c556b2c1b52eae231dbea8af64b2;p=thirdparty%2Fgnutls.git Fix some typos [ci skip] occurence -> occurrence sucessful -> successful Signed-off-by: Andreas Metzler --- diff --git a/lib/cert.c b/lib/cert.c index fa451da5d5..10a646c493 100644 --- a/lib/cert.c +++ b/lib/cert.c @@ -476,7 +476,7 @@ _gnutls_x509_get_raw_crt_expiration_time(const gnutls_datum_t * cert) * or use gnutls_certificate_verify_peers3(). * * Returns: %GNUTLS_E_SUCCESS (0) when the validation is performed, or a negative error code otherwise. - * A sucessful error code means that the @status parameter must be checked to obtain the validation status. + * A successful error code means that the @status parameter must be checked to obtain the validation status. **/ int gnutls_certificate_verify_peers2(gnutls_session_t session, @@ -509,7 +509,7 @@ gnutls_certificate_verify_peers2(gnutls_session_t session, * key usage), use gnutls_certificate_verify_peers(). * * Returns: %GNUTLS_E_SUCCESS (0) when the validation is performed, or a negative error code otherwise. - * A sucessful error code means that the @status parameter must be checked to obtain the validation status. + * A successful error code means that the @status parameter must be checked to obtain the validation status. * * Since: 3.1.4 **/ @@ -556,7 +556,7 @@ gnutls_typed_vdata_st data; * %GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE flag set. * * Returns: %GNUTLS_E_SUCCESS (0) when the validation is performed, or a negative error code otherwise. - * A sucessful error code means that the @status parameter must be checked to obtain the validation status. + * A successful error code means that the @status parameter must be checked to obtain the validation status. * * Since: 3.3.0 **/ diff --git a/src/serv-args.def b/src/serv-args.def index f04641e0e2..bfb53954f5 100644 --- a/src/serv-args.def +++ b/src/serv-args.def @@ -182,7 +182,7 @@ flag = { descrip = "X.509 key file or PKCS #11 URL to use"; doc = "Specify the private key file or URI to use; it must correspond to the certificate specified in --x509certfile. Multiple keys and certificates -can be specified with this option and in that case each occurence of keyfile +can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding x509certfile or vice-versa."; stack-arg; max = NOLIMIT; @@ -194,7 +194,7 @@ flag = { descrip = "X.509 Certificate file or PKCS #11 URL to use"; doc = "Specify the certificate file or URI to use; it must correspond to the key specified in --x509keyfile. Multiple keys and certificates -can be specified with this option and in that case each occurence of keyfile +can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding x509certfile or vice-versa."; stack-arg; max = NOLIMIT;