Move the version function declarations to include/openssl/crypto.h
authorRichard Levitte <levitte@openssl.org>
Thu, 17 Oct 2019 16:15:13 +0000 (18:15 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Oct 2019 10:22:00 +0000 (12:22 +0200)
commitf5453462117e3deb4b077756e2d24edb2ff3b1af
treed38901ec1a4d3a920fb2d30c4eda3260faa51e55
parent9495a6c45bc7cd69845f9a22eec1fbf8ac735b81
Move the version function declarations to include/openssl/crypto.h

include/openssl/crypto.h is where older similar functions already
live, and since opensslv.h became a template, it's no longer useful
for parsing by util/mknum.pl.

Affected declarations:

 unsigned int OPENSSL_version_major(void);
 unsigned int OPENSSL_version_minor(void);
 unsigned int OPENSSL_version_patch(void);
 const char *OPENSSL_version_pre_release(void);
 const char *OPENSSL_version_build_metadata(void);

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10205)
doc/man3/OpenSSL_version.pod
include/openssl/crypto.h
include/openssl/opensslv.h.in