Avoid inlining LibraryVersion (Issue 371)
parent
f9773d2961
commit
d8570a3435
|
|
@ -947,7 +947,7 @@ void AuthenticatedKeyAgreementDomain::GenerateEphemeralKeyPair(RandomNumberGener
|
||||||
#ifndef CRYPTOPP_BUILD_VERSION
|
#ifndef CRYPTOPP_BUILD_VERSION
|
||||||
# define CRYPTOPP_BUILD_VERSION CRYPTOPP_VERSION
|
# define CRYPTOPP_BUILD_VERSION CRYPTOPP_VERSION
|
||||||
#endif
|
#endif
|
||||||
int LibraryVersion()
|
int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT)
|
||||||
{
|
{
|
||||||
return CRYPTOPP_BUILD_VERSION;
|
return CRYPTOPP_BUILD_VERSION;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2943,7 +2943,7 @@ public:
|
||||||
//! \sa HeaderVersion(), <A HREF="http://github.com/weidai11/cryptopp/issues/371">GitHub Issue 371</A>.
|
//! \sa HeaderVersion(), <A HREF="http://github.com/weidai11/cryptopp/issues/371">GitHub Issue 371</A>.
|
||||||
//! \since Crypto++ 6.0
|
//! \since Crypto++ 6.0
|
||||||
extern "C" {
|
extern "C" {
|
||||||
int LibraryVersion();
|
int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT);
|
||||||
} // C linkage
|
} // C linkage
|
||||||
|
|
||||||
//! \brief Specifies the runtime version of the library
|
//! \brief Specifies the runtime version of the library
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue