mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-13 09:34:56 +00:00
Switch to _MSC_FULL_VER for SP1 releases
This commit is contained in:
parent
aa287d6112
commit
537ee61ade
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
2
test.cpp
2
test.cpp
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user