From: slontis Date: Thu, 7 Dec 2023 00:54:34 +0000 (+1000) Subject: Removed extra spaces in documentation X-Git-Tag: openssl-3.3.0-alpha1~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f02d33118b0df745af45f415b4b9cd1c96989f74;p=thirdparty%2Fopenssl.git Removed extra spaces in documentation Reviewed-by: Richard Levitte Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/22968) --- diff --git a/doc/internal/man3/OSSL_METHOD_STORE.pod b/doc/internal/man3/OSSL_METHOD_STORE.pod index 70f6eb520ff..1b5c3aaf633 100644 --- a/doc/internal/man3/OSSL_METHOD_STORE.pod +++ b/doc/internal/man3/OSSL_METHOD_STORE.pod @@ -5,7 +5,7 @@ OSSL_METHOD_STORE, ossl_method_store_new, ossl_method_store_free, ossl_method_store_init, ossl_method_store_cleanup, ossl_method_store_add, ossl_method_store_fetch, -ossl_method_store_remove, ossl_method_store_remove_all_provided, +ossl_method_store_remove, ossl_method_store_remove_all_provided, ossl_method_store_cache_get, ossl_method_store_cache_set, ossl_method_store_cache_flush_all - implementation method store and query diff --git a/doc/man3/OSSL_DECODER_CTX.pod b/doc/man3/OSSL_DECODER_CTX.pod index a15902da080..034cf12c738 100644 --- a/doc/man3/OSSL_DECODER_CTX.pod +++ b/doc/man3/OSSL_DECODER_CTX.pod @@ -47,8 +47,8 @@ OSSL_DECODER_INSTANCE_get_input_structure int OSSL_DECODER_CTX_set_input_structure(OSSL_DECODER_CTX *ctx, const char *input_structure); int OSSL_DECODER_CTX_add_decoder(OSSL_DECODER_CTX *ctx, OSSL_DECODER *decoder); - int OSSL_DECODER_CTX_add_extra(OSSL_DECODER_CTX *ctx, - OSSL_LIB_CTX *libctx, + int OSSL_DECODER_CTX_add_extra(OSSL_DECODER_CTX *ctx, + OSSL_LIB_CTX *libctx, const char *propq); int OSSL_DECODER_CTX_get_num_decoders(OSSL_DECODER_CTX *ctx); diff --git a/doc/man3/OSSL_HPKE_CTX_new.pod b/doc/man3/OSSL_HPKE_CTX_new.pod index 4ec647983e7..e291ec7e483 100644 --- a/doc/man3/OSSL_HPKE_CTX_new.pod +++ b/doc/man3/OSSL_HPKE_CTX_new.pod @@ -187,11 +187,11 @@ modes> and L. =head2 HPKE Roles -HPKE contexts have a role - either sender or receiver. This is used +HPKE contexts have a role - either sender or receiver. This is used to control which functions can be called and so that senders do not reuse a key and nonce with different plaintexts. -OSSL_HPKE_CTX_free(), OSSL_HPKE_export(), OSSL_HPKE_CTX_set1_psk(), +OSSL_HPKE_CTX_free(), OSSL_HPKE_export(), OSSL_HPKE_CTX_set1_psk(), and OSSL_HPKE_CTX_get_seq() can be called regardless of role. =over 4 @@ -199,7 +199,7 @@ and OSSL_HPKE_CTX_get_seq() can be called regardless of role. =item B, 0 An I with this role can be used with -OSSL_HPKE_encap(), OSSL_HPKE_seal(), OSSL_HPKE_CTX_set1_ikme() and +OSSL_HPKE_encap(), OSSL_HPKE_seal(), OSSL_HPKE_CTX_set1_ikme() and OSSL_HPKE_CTX_set1_authpriv(). =item B, 1 diff --git a/doc/man3/PKCS12_SAFEBAG_set0_attrs.pod b/doc/man3/PKCS12_SAFEBAG_set0_attrs.pod index 406e4c5b0d6..7b45deb471f 100644 --- a/doc/man3/PKCS12_SAFEBAG_set0_attrs.pod +++ b/doc/man3/PKCS12_SAFEBAG_set0_attrs.pod @@ -18,7 +18,7 @@ PKCS#12 safeBag. I is the B to assign the attributes to. =head1 RETURN VALUES -PKCS12_SAFEBAG_set0_attrs() does not return a value. +PKCS12_SAFEBAG_set0_attrs() does not return a value. =head1 COPYRIGHT diff --git a/doc/man3/PKCS12_create.pod b/doc/man3/PKCS12_create.pod index 5291338d3c4..7f913f2fc1a 100644 --- a/doc/man3/PKCS12_create.pod +++ b/doc/man3/PKCS12_create.pod @@ -42,7 +42,7 @@ PKCS12_create_ex() is identical to PKCS12_create() but allows for a library cont I and property query I to be used to select algorithm implementations. PKCS12_create_ex2() is identical to PKCS12_create_ex() but allows for a user defined -callback I of type B to be specified and also allows for an +callback I of type B to be specified and also allows for an optional argument I to be passed back to the callback. The I if specified will be called for every safebag added to the diff --git a/doc/man3/SSL_set1_server_cert_type.pod b/doc/man3/SSL_set1_server_cert_type.pod index aaa7fe0fc37..9e5073b0c2a 100644 --- a/doc/man3/SSL_set1_server_cert_type.pod +++ b/doc/man3/SSL_set1_server_cert_type.pod @@ -156,7 +156,7 @@ To connect to this server, set the client SSL_CTX and SSL as follows: /* Do SSL_connect() handshake and handle errors here */ - /* Optional: verify the peer RPK */ + /* Optional: verify the peer RPK */ verify_result = SSL_get_verify_result(ssl); if (verify_result == X509_V_OK) { /* The server's raw public key matched the TLSA record */ diff --git a/doc/man3/SSL_set_retry_verify.pod b/doc/man3/SSL_set_retry_verify.pod index 4eb7f449ed5..0f20a493061 100644 --- a/doc/man3/SSL_set_retry_verify.pod +++ b/doc/man3/SSL_set_retry_verify.pod @@ -39,7 +39,7 @@ with the B to call the SSL_set_retry_verify() function: /* this should not happen but check anyway */ if (idx < 0 - || (ssl = X509_STORE_CTX_get_ex_data(ctx, idx)) == NULL) + || (ssl = X509_STORE_CTX_get_ex_data(ctx, idx)) == NULL) return 0; if (/* we need to retry verification callback */) diff --git a/doc/man7/OSSL_PROVIDER-FIPS.pod b/doc/man7/OSSL_PROVIDER-FIPS.pod index 485c4c63416..a8ea27cd883 100644 --- a/doc/man7/OSSL_PROVIDER-FIPS.pod +++ b/doc/man7/OSSL_PROVIDER-FIPS.pod @@ -407,7 +407,7 @@ Key Derivation Function tests used with the "KAT_KDF" type. DRBG tests used with the "DRBG" type. -= item "RNG" (B) +=item "RNG" (B) "Continuous_RNG_Test" uses this.