Skip to content

Commit

Permalink
SNOW-1553930: Fix incorrect key size condition check for GCP and Azure (
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa authored Oct 30, 2024
1 parent c703b8d commit 45afd71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ private SFPair<InputStream, Boolean> createUploadStream(
final InputStream stream;
FileInputStream srcFileStream = null;
try {
if (isEncrypting() && getEncryptionKeySize() < 256) {
if (isEncrypting() && getEncryptionKeySize() <= 256) {
try {
final InputStream uploadStream =
uploadFromStream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ private SFPair<InputStream, Boolean> createUploadStream(
final InputStream stream;
FileInputStream srcFileStream = null;
try {
if (isEncrypting() && getEncryptionKeySize() < 256) {
if (isEncrypting() && getEncryptionKeySize() <= 256) {
try {
final InputStream uploadStream =
uploadFromStream
Expand Down

0 comments on commit 45afd71

Please sign in to comment.