diff options
author | Kristofer Pettersson <kristofer.pettersson@oracle.com> | 2014-09-29 10:17:38 +0200 |
---|---|---|
committer | Kristofer Pettersson <kristofer.pettersson@oracle.com> | 2014-09-29 10:17:38 +0200 |
commit | d6d45fa3d86c6998ed5d3ec9a7cdc2268766de01 (patch) | |
tree | a9a4023e27b6194ef6c8ea6139744176ca0b6294 /extra/yassl/taocrypt | |
parent | 68ea0ea13b6c5dfbbbadf114c354429f1f22e43f (diff) | |
download | mariadb-git-d6d45fa3d86c6998ed5d3ec9a7cdc2268766de01.tar.gz |
Bug#19695101 UPGRADE YASSL TO 2.3.5
Diffstat (limited to 'extra/yassl/taocrypt')
-rw-r--r-- | extra/yassl/taocrypt/src/rsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/yassl/taocrypt/src/rsa.cpp b/extra/yassl/taocrypt/src/rsa.cpp index 69c59402e48..79a8a8f1c4f 100644 --- a/extra/yassl/taocrypt/src/rsa.cpp +++ b/extra/yassl/taocrypt/src/rsa.cpp @@ -177,7 +177,7 @@ word32 RSA_BlockType1::UnPad(const byte* pkcsBlock, word32 pkcsBlockLen, // skip past the padding until we find the separator unsigned i=1; - while (i<pkcsBlockLen && pkcsBlock[i++]) { // null body + while (i<pkcsBlockLen && pkcsBlock[i++] == 0xFF) { // null body } if (!(i==pkcsBlockLen || pkcsBlock[i-1]==0)) return 0; |