From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 14 Feb 2024 09:03:05 +0000 (+0100) Subject: Fix typos found by codespell X-Git-Tag: openssl-3.4.0-alpha1~718 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15eb7b6875e5d717c1bb47a4e6022fd8a9fa3adb;p=thirdparty%2Fopenssl.git Fix typos found by codespell Reviewed-by: Todd Short Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24013) --- diff --git a/doc/man1/openssl-cmp.pod.in b/doc/man1/openssl-cmp.pod.in index 596a3991938..f9f33db569f 100644 --- a/doc/man1/openssl-cmp.pod.in +++ b/doc/man1/openssl-cmp.pod.in @@ -1044,7 +1044,7 @@ If the transaction contains more requests, the remaining ones are not saved. =item B<-reqout_only> I Save the first CMP requests created by the client to the given file and exit. -Any options related to CMP servers and their reponses are ignored. +Any options related to CMP servers and their responses are ignored. This option is useful for supporting offline scenarios where the certificate request (or any other CMP request) is produced beforehand and sent out later. diff --git a/doc/man3/OSSL_CMP_MSG_get0_header.pod b/doc/man3/OSSL_CMP_MSG_get0_header.pod index fc45a551751..f8f535f30b0 100644 --- a/doc/man3/OSSL_CMP_MSG_get0_header.pod +++ b/doc/man3/OSSL_CMP_MSG_get0_header.pod @@ -36,7 +36,7 @@ OSSL_CMP_MSG_get0_header() returns the header of the given CMP message. OSSL_CMP_MSG_get_bodytype() returns the body type of the given CMP message. OSSL_CMP_MSG_get0_certreq_publickey() expects that I is a certificate request -messsage and returns the public key in its certificate template if present. +message and returns the public key in its certificate template if present. OSSL_CMP_MSG_update_transactionID() updates the transactionID field in the header of the given message according to the CMP_CTX. diff --git a/providers/implementations/rands/drbg.c b/providers/implementations/rands/drbg.c index 46a056bc2a8..3e88e7d0648 100644 --- a/providers/implementations/rands/drbg.c +++ b/providers/implementations/rands/drbg.c @@ -31,7 +31,7 @@ * * The OpenSSL model is to have new and free functions, and that new * does all initialization. That is not the NIST model, which has - * instantiation and un-instantiate, and re-use within a new/free + * instantiation and un-instantiate, and reuse within a new/free * lifecycle. (No doubt this comes from the desire to support hardware * DRBG, where allocation of resources on something like an HSM is * a much bigger deal than just re-setting an allocated resource.) diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm index 06ee7c11785..c4f3a0a5497 100644 --- a/util/perl/TLSProxy/Proxy.pm +++ b/util/perl/TLSProxy/Proxy.pm @@ -323,7 +323,7 @@ sub clientstart { my ($self) = shift; - my $succes = 1; + my $success = 1; if ($self->execute) { my $pid; @@ -450,7 +450,7 @@ sub clientstart if ($ctr >= 10) { kill(3, $self->{serverpid}); print "No progress made\n"; - $succes = 0; + $success = 0; } END: @@ -482,7 +482,7 @@ sub clientstart print "Waiting for s_client process to close: $pid...\n"; waitpid($pid, 0); - return $succes; + return $success; } sub process_packet