Skip to content

Commit

Permalink
All lh_stats functions were deprecated not just some
Browse files Browse the repository at this point in the history
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #22248)
  • Loading branch information
t8m authored and paulidale committed Oct 3, 2023
1 parent eda5e11 commit 17d1e15
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/man3/OPENSSL_LH_stats.pod
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ OPENSSL_LH_node_stats_bio, OPENSSL_LH_node_usage_stats_bio - LHASH statistics

#include <openssl/lhash.h>

The following functions have been deprecated since OpenSSL 3.1, and can be
hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
see L<openssl_user_macros(7)>:

void OPENSSL_LH_node_stats(LHASH *table, FILE *out);
void OPENSSL_LH_node_usage_stats(LHASH *table, FILE *out);

void OPENSSL_LH_node_stats_bio(LHASH *table, BIO *out);
void OPENSSL_LH_node_usage_stats_bio(LHASH *table, BIO *out);

The following functions have been deprecated since OpenSSL 3.1, and can be
hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
see L<openssl_user_macros(7)>:

void OPENSSL_LH_stats(LHASH *table, FILE *out);
void OPENSSL_LH_stats_bio(LHASH *table, BIO *out);

Expand Down Expand Up @@ -48,8 +48,7 @@ record a miss.
OPENSSL_LH_stats_bio(), OPENSSL_LH_node_stats_bio() and OPENSSL_LH_node_usage_stats_bio()
are the same as the above, except that the output goes to a B<BIO>.

OPENSSH_LH_stats() and OPENSSH_LH_stats_bio() are deprecated and should no
longer be used.
These functions are deprecated and should no longer be used.

=head1 RETURN VALUES

Expand All @@ -61,13 +60,14 @@ These calls should be made under a read lock. Refer to
L<OPENSSL_LH_COMPFUNC(3)/NOTE> for more details about the locks required
when using the LHASH data structure.

The functions OPENSSH_LH_stats() and OPENSSH_LH_stats_bio() were deprecated in
version 3.1.

=head1 SEE ALSO

L<bio(7)>, L<OPENSSL_LH_COMPFUNC(3)>

=head1 HISTORY

These functions were deprecated in version 3.1.

=head1 COPYRIGHT

Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Expand Down

0 comments on commit 17d1e15

Please sign in to comment.