[DVIPDFMx] BUG: dvipdfmx produces invalid password encrypted PDF files on LP64 UNIX. (+patch)

Takanori Yamamoto takanori at macports.org
Fri Mar 11 09:02:04 KST 2011


dvipdfmx cannot produce password encrypted PDF files on 64bit (LP64) machines properly.
(anyone cannot open the produced PDF files due to "Invalid password")

This is because dvipdfmx's MD5 transform function (in dpxcrypt.c) doesn't work well
on LP64 architecture machines such as x86_64.

Anyway, could you please take a look into the attached patch file?
And if there is no problem, please commit it.

I tested this patch on FreeBSD 8.2/x86_64 and Mac OS X 10.6/x86_64.

Thanks in advance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src_dpxcrypt.c.diff
Type: application/octet-stream
Size: 1029 bytes
Desc: not available
URL: <http://project.ktug.or.kr/pipermail/dvipdfmx/attachments/20110311/943fe469/attachment-0001.obj>


More information about the dvipdfmx mailing list