aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2013-11-12 11:37:45 +0000
committerNick Burch <nick@apache.org>2013-11-12 11:37:45 +0000
commit888f8552870a0db15d09c104c28a1c16510565dc (patch)
tree5993c38c9dce4e48c79f833590d88c13be88f34a /src/testcases/org/apache/poi/poifs
parentc8a5207f2b2b07310ddcfe842a2c820a1824b51b (diff)
downloadpoi-888f8552870a0db15d09c104c28a1c16510565dc.tar.gz
poi-888f8552870a0db15d09c104c28a1c16510565dc.zip
Patch from Andreas Beeker from bug #53475 - further OOXML Encryption support, covering more ciphers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1541009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/poifs')
-rw-r--r--src/testcases/org/apache/poi/poifs/crypt/TestEncryptionInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/poifs/crypt/TestEncryptionInfo.java b/src/testcases/org/apache/poi/poifs/crypt/TestEncryptionInfo.java
index 098d503dc4..7869183c9f 100644
--- a/src/testcases/org/apache/poi/poifs/crypt/TestEncryptionInfo.java
+++ b/src/testcases/org/apache/poi/poifs/crypt/TestEncryptionInfo.java
@@ -50,7 +50,7 @@ public class TestEncryptionInfo extends TestCase {
assertEquals(4, info.getVersionMajor());
assertEquals(4, info.getVersionMinor());
- assertEquals(EncryptionHeader.ALGORITHM_AES_128, info.getHeader().getAlgorithm());
+ assertEquals(EncryptionHeader.ALGORITHM_AES_256, info.getHeader().getAlgorithm());
assertEquals(EncryptionHeader.HASH_SHA512, info.getHeader().getHashAlgorithm());
assertEquals(256, info.getHeader().getKeySize());
assertEquals(64, info.getVerifier().getVerifierHash().length);