Switch to _MSC_FULL_VER for SP1 releases

This commit is contained in:
Jeffrey Walton 2017-05-11 12:05:57 -04:00
parent aa287d6112
commit 537ee61ade
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
10 changed files with 11 additions and 11 deletions

View File

@ -20,7 +20,7 @@
#include <iostream>
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -3048,7 +3048,7 @@ Integer::Integer(const byte *encodedInteger, size_t byteCount, Signedness s, Byt
if (o == LITTLE_ENDIAN_ORDER)
{
SecByteBlock block(byteCount);
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
std::reverse_copy(encodedInteger, encodedInteger+byteCount,
stdext::make_checked_array_iterator(block.begin(), block.size()));
#else

View File

@ -30,7 +30,7 @@
#include "aes.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -56,7 +56,7 @@
#include "panama.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -22,7 +22,7 @@
#include "sha.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -62,7 +62,7 @@
#endif
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -27,7 +27,7 @@
#include "validate.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -60,7 +60,7 @@
#include "validate.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif
@ -209,7 +209,7 @@ bool TestSettings()
word32 w;
const byte s[] = "\x01\x02\x03\x04";
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
std::copy(s, s+4,
stdext::make_checked_array_iterator(reinterpret_cast<byte*>(&w), sizeof(w)));
#else

View File

@ -47,7 +47,7 @@
#include "validate.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif

View File

@ -40,7 +40,7 @@
#include "validate.h"
// Aggressive stack checking with VS2005 SP1 and above.
#if (CRYPTOPP_MSC_VERSION >= 1410)
#if (_MSC_FULL_VER >= 140050727)
# pragma strict_gs_check (on)
#endif