diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/digest.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/rtl/digest.cxx b/sal/rtl/digest.cxx index e3db60461d5e..fbacbc9838dd 100644 --- a/sal/rtl/digest.cxx +++ b/sal/rtl/digest.cxx @@ -1047,6 +1047,8 @@ static void endSHA(DigestContextSHA *ctx) i += 1; + // tdf#114939 NB: this is WRONG and should be ">" not ">=" but is not + // fixed as this buggy SHA1 implementation is needed for compatibility if (i >= (DIGEST_LBLOCK_SHA - 2)) { for (; i < DIGEST_LBLOCK_SHA; i++) |