diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-08-21 04:56:42 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-08-21 04:56:42 +0000 |
commit | d651e84fcb7ac24f9677177e6ea57de7eebc083f (patch) | |
tree | 8b215d1d82626be67f2ba10b370e4cdabfb89d03 /Build/source/texk/dvipdfm-x/pdfencrypt.c | |
parent | 942a712305b66eaea72ab2eb669f0063df886fdf (diff) |
Handles the case of circular reference properly (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@48445 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfencrypt.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfencrypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfencrypt.c b/Build/source/texk/dvipdfm-x/pdfencrypt.c index 3fc80eae1a2..d387172b2bf 100644 --- a/Build/source/texk/dvipdfm-x/pdfencrypt.c +++ b/Build/source/texk/dvipdfm-x/pdfencrypt.c @@ -476,6 +476,7 @@ check_version (struct pdf_sec *p, int version) WARN("Current encryption setting requires PDF version >= 1.7" \ " (plus Adobe Extension Level 3)."); p->V = 4; + p->key_size = 16; } if (p->V == 5 && version < 20) { p->setting.need_adobe_extension = 1; |