]> git.ipfire.org Git - thirdparty/cups.git/commit
Regression: Locally saved certificates corrupted fix-base-64-encoding 724/head
authorTill Kamppeter <till.kamppeter@gmail.com>
Fri, 9 Jun 2023 21:38:52 +0000 (23:38 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Fri, 9 Jun 2023 21:38:52 +0000 (23:38 +0200)
commitb9ff88c722296c68c3d1edae244dd20c4eacf706
tree16f560379693be96b2c7942f0dcaf0ee0f9d994a
parent301d6e4a76ddfefde4c91a9fc089b0a3b95aff60
Regression: Locally saved certificates corrupted

Base-64-encoding, via the httpEncode64_2() function, used to save
printer/server certificates in files, got broken in commit
a521b235a1ab, ending up with corrupted files not readable when loading
them again and so the certificates of network printers do not get
trusted when a previous copy of them gets loaded from the file. So the
first job prints (no certificate file yet, certificate loaded from
printer) and every subsequent job does not print, as the printer's
certificate does not match the one loaded from the file.

This commit undoes the changes which got applied to the
httpEncode64_2() function to make the certificates correctly encoded
again.
cups/http-support.c