summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/src/pdfencrypt.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:30:17 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:30:17 +0000
commitac4c4a45682b1157c58076c40c943a3d9a2cad77 (patch)
tree2bf13ce5c730f42f654abf500e95ce60ecf4bd4c /Build/source/texk/dvipdfmx/src/pdfencrypt.c
parentc7373aea6badf4ce6e1bca4a5335b89569d5c8a5 (diff)
towards TL2010: texk/dvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@15972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/pdfencrypt.c')
-rw-r--r--Build/source/texk/dvipdfmx/src/pdfencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/src/pdfencrypt.c b/Build/source/texk/dvipdfmx/src/pdfencrypt.c
index 42902371fcf..d3311530f19 100644
--- a/Build/source/texk/dvipdfmx/src/pdfencrypt.c
+++ b/Build/source/texk/dvipdfmx/src/pdfencrypt.c
@@ -324,7 +324,7 @@ static void compute_user_password (void)
break;
case 3:
MD5_init(&md5_ctx);
- MD5_write(&md5_ctx, (unsigned char *)padding_string, MAX_STR_LEN);
+ MD5_write(&md5_ctx, padding_string, MAX_STR_LEN);
MD5_write(&md5_ctx, id_string, MAX_KEY_LEN);
MD5_final(md5_buf, &md5_ctx);