diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/pdfencrypt.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/pdfencrypt.c | 2 |
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); |