Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/24950)
(cherry picked from commit
4b86dbb596c179b519dfb7ceb7e1d223556442c5)
through an internal L<OSSL_PASSPHRASE_CALLBACK(3)> function.
The internal L<OSSL_PASSPHRASE_CALLBACK(3)> function caches the pass phrase, to
-be re-used in all decodings that are performed in the same decoding run (for
+be reused in all decodings that are performed in the same decoding run (for
example, within one L<OSSL_DECODER_from_bio(3)> call).
=head2 Input Types
The SSL_select_next_proto() helper function can be useful from either the ALPN
callback or the NPN callback (described below). If no match is found, the first
item in B<client>, B<client_len> is returned in B<out>, B<outlen> and
-B<OPENSSL_NPN_NO_OVERLAP> is returned. This can be useful when implementating
+B<OPENSSL_NPN_NO_OVERLAP> is returned. This can be useful when implementing
the NPN callback. In the ALPN case, the value returned in B<out> and B<outlen>
must be ignored if B<OPENSSL_NPN_NO_OVERLAP> has been returned from
SSL_select_next_proto().