<div dir="auto">The function has been there for a long time (since then beginning) and it is all about version related information - so both names aren't exactly clearly descriptive.<div dir="auto"><br></div><div dir="auto">OpenSSL_version_information() would be a better name.</div><div dir="auto"><br></div><div dir="auto">It would also argue that the "version" program should be renamed "info" as the same argument would equally apply.</div><div dir="auto"><br></div><div dir="auto">However I do not think we should rename a function and deprecate a function that is very widely used.</div><div dir="auto"><br></div><div dir="auto">And the function should also cover everything that the current "version" application covers (like seeding source etc). The ifdefs there are not something we should expect applications to repeat.<br><div dir="auto"><br></div><div dir="auto">Tim.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 5 Dec. 2018, 5:50 pm Matt Caswell <<a href="mailto:matt@openssl.org">matt@openssl.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Richard and I are discussing whether OpenSSL_version() should be deprecated or<br>
not in favour of a new function OPENSSL_info() which does more or less the same<br>
thing. See:<br>
<br>
<a href="https://github.com/openssl/openssl/pull/7724#discussion_r239067887" rel="noreferrer noreferrer" target="_blank">https://github.com/openssl/openssl/pull/7724#discussion_r239067887</a><br>
<br>
Richard's motivation for doing so is that he finds the old name "strongly<br>
misleading". I disagree and prefer not to deprecate functions like this just<br>
because we don't like the name (which eventually will lead to breakage when we<br>
remove the deprecated functions in some future major version (not 3.0.0))<br>
<br>
I'd appreciate more input on the discussion.<br>
<br>
Matt<br>
_______________________________________________<br>
openssl-project mailing list<br>
<a href="mailto:openssl-project@openssl.org" target="_blank" rel="noreferrer">openssl-project@openssl.org</a><br>
<a href="https://mta.openssl.org/mailman/listinfo/openssl-project" rel="noreferrer noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-project</a><br>
</blockquote></div>