annotate Aws/aws-sdk-cpp-1.11.178.patch @ 148:c02a830ae308

try
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jun 2024 18:52:57 +0200
parents 5decdf0f0ef7
children d3e7c86c3a4e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb aws-sdk-cpp-1.11.178.orig/src/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp aws-sdk-cpp-1.11.178/src/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 --- aws-sdk-cpp-1.11.178.orig/src/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp 2024-06-20 17:16:09.512162194 +0200
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 +++ aws-sdk-cpp-1.11.178/src/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp 2024-06-20 17:16:33.863888288 +0200
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 @@ -221,7 +221,7 @@
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 EVP_DigestInit_ex(ctx, EVP_md5(), nullptr);
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 auto currentPos = stream.tellg();
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 - if (currentPos == -1)
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 + if (currentPos == std::streampos(-1))
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 {
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 currentPos = 0;
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 stream.clear();
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 @@ -298,7 +298,7 @@
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 EVP_DigestInit_ex(ctx, EVP_sha1(), nullptr);
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 auto currentPos = stream.tellg();
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 - if (currentPos == -1)
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 + if (currentPos == std::streampos(-1))
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 {
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 currentPos = 0;
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 stream.clear();
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 @@ -376,7 +376,7 @@
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 EVP_DigestInit_ex(ctx, EVP_sha256(), nullptr);
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 auto currentPos = stream.tellg();
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 - if (currentPos == -1)
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 + if (currentPos == std::streampos(-1))
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 {
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 currentPos = 0;
5decdf0f0ef7 trying to build aws for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 stream.clear();