summaryrefslogtreecommitdiff
path: root/Cryptlib/Cipher
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-09-22 10:15:26 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-09-22 10:15:26 -0400
commit5998f019f85f765070f049332bf68d347d60c993 (patch)
tree796531832eed643b2fec02ae7f0949e84d152968 /Cryptlib/Cipher
parente3ef28acdfacfe07c42662d86af2135d1a100c24 (diff)
parent62f0afa2ecead02b1258dabab8097ca278a22f8f (diff)
downloadefi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.tar.gz
efi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.zip
New upstream release.
Diffstat (limited to 'Cryptlib/Cipher')
-rw-r--r--Cryptlib/Cipher/CryptTdes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cryptlib/Cipher/CryptTdes.c b/Cryptlib/Cipher/CryptTdes.c
index f89094a5..8025a49c 100644
--- a/Cryptlib/Cipher/CryptTdes.c
+++ b/Cryptlib/Cipher/CryptTdes.c
@@ -1,7 +1,7 @@
/** @file
TDES Wrapper Implementation over OpenSSL.
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -90,7 +90,7 @@ TdesInit (
return TRUE;
}
- if (DES_is_weak_key ((const_DES_cblock *) Key + 8) == 1) {
+ if (DES_is_weak_key ((const_DES_cblock *) (Key + 8)) == 1) {
return FALSE;
}
@@ -101,7 +101,7 @@ TdesInit (
return TRUE;
}
- if (DES_is_weak_key ((const_DES_cblock *) Key + 16) == 1) {
+ if (DES_is_weak_key ((const_DES_cblock *) (Key + 16)) == 1) {
return FALSE;
}