Revert #857 for now

Travis CI fails "deep tests" of DLIES with #857 applied. Let's revert it for now and get back to
```c++
    cipherKey = key + MAC::DEDAULT_KEYLENGTH;
```
and see if it improves the situation.
pull/867/head
Mouse 2019-07-02 23:24:45 -04:00 committed by GitHub
parent eeb7dadc76
commit 5d0ceb3b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -716,7 +716,8 @@ public:
if (DHAES_MODE)
{
macKey = key;
cipherKey = key + MAC::DIGESTSIZE;
//cipherKey = key + MAC::DIGESTSIZE;
cipherKey = key + MAC::DEDAULT_KEYLENGTH;
}
else
{
@ -748,7 +749,8 @@ public:
if (DHAES_MODE)
{
macKey = key;
cipherKey = key + MAC::DIGESTSIZE;
//cipherKey = key + MAC::DIGESTSIZE;
cipherKey = key + MAC::DEDAULT_KEYLENGTH;
}
else
{