shithub: jbig2

Download patch

ref: 5552c16b8c7ac2ef437656de8c5c3fb5b865776e
parent: 3ad762a5c66d26f937d640def6e647003b36fc41
author: Sebastian Rasmussen <sebras@gmail.com>
date: Tue Mar 20 20:44:00 EDT 2018

Fix 698839: Set correct checksum for amb_{1,2}.jb2 in test suite.

--- a/test_jbig2dec.py
+++ b/test_jbig2dec.py
@@ -58,8 +58,7 @@
 
   # hashes of known test inputs
   known_042_DECODED = "ebfdf6e2fc5ff3ee2271c2fa19de0e52712046e8"
-  # we do not have correct hashes for these
-  known_amb_DECODED = "ff32ffff0776ff66ff254129ff28ffffffff6bff"
+  known_amb_DECODED = "3d4b7992d506894662b53415bd3d0d2a2f8b7953"
 
   # these are known test files in the form
   # (filename, sha-1(file), sha-1(decoded document)