-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All lh_stats functions were deprecated in 3.1 #22247
Conversation
There still seem to be references to |
@t8m since the deprecation happened in 3.1, the manual pages for 3.2 and 3.1 shouldn't have unnecessary diffs. You can just cherry-pick it backwards, preferring the master version over the 3.1 version in the conflict below, right? I will close #22245 in favour of your PR. msp@debian:~/src/openssl/master$ git diff
diff --cc doc/man3/OPENSSL_LH_stats.pod
index 5bc69674f8,fb95928d8f..0000000000
--- a/doc/man3/OPENSSL_LH_stats.pod
+++ b/doc/man3/OPENSSL_LH_stats.pod
@@@ -16,10 -20,6 +20,18 @@@ see L<openssl_user_macros(7)>
void OPENSSL_LH_node_stats_bio(LHASH *table, BIO *out);
void OPENSSL_LH_node_usage_stats_bio(LHASH *table, BIO *out);
++<<<<<<< HEAD
+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)>:
+
++||||||| parent of ffceef6b4e (All lh_stats functions were deprecated in 3.1)
++The following functions have been deprecated since OpenSSL 3.2, and can be
++hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
++see L<openssl_user_macros(7)>:
++
++=======
++>>>>>>> ffceef6b4e (All lh_stats functions were deprecated in 3.1)
void OPENSSL_LH_stats(LHASH *table, FILE *out);
void OPENSSL_LH_stats_bio(LHASH *table, BIO *out);
@@@ -61,9 -60,6 +72,16 @@@ These calls should be made under a rea
L<OPENSSL_LH_COMPFUNC(3)/NOTE> for more details about the locks required
when using the LHASH data structure.
++<<<<<<< HEAD
+The functions OPENSSH_LH_stats() and OPENSSH_LH_stats_bio() were deprecated in
+version 3.1.
+
++||||||| parent of ffceef6b4e (All lh_stats functions were deprecated in 3.1)
++The functions OPENSSH_LH_stats() and OPENSSH_LH_stats_bio() were deprecated in
++version 3.2.
++
++=======
++>>>>>>> ffceef6b4e (All lh_stats functions were deprecated in 3.1)
=head1 SEE ALSO
L<bio(7)>, L<OPENSSL_LH_COMPFUNC(3)> |
Commit 45ada6b has a lot of renamings from 3.1 to 3.2. Do these all need to be checked? |
Nope, I did not grep properly. Fixup pushed. |
Nope, the lhash related ones should be now covered. The others should still be kept at 3.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theses deprecation macros always tend to create knots in my brain.
This pull request is ready to merge |
Merged, thanks. |
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 #22247)
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 #22247)
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 openssl/openssl#22247) Signed-off-by: fly2x <fly2x@hitls.org>
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 openssl/openssl#22247) Signed-off-by: fly2x <fly2x@hitls.org>
This is alternative to #22245