Home GnuPG

Correctly detect write errors while creating CMS objects.

Description

Correctly detect write errors while creating CMS objects.

* src/cms.c (write_encrypted_cont): Take care of write errors.

Without that patch libskba would for example keep on writing on a full
disk because the write error gets overwritten by the read result. No
real harm but we should stop as soon as possible and report the
correct error.

Details

Provenance
wernerAuthored on Jun 19 2023, 11:20 AM
Parents
rKa920c2ff1a72: build: Sync libtool from libgpg-error for 64-bit Windows.
Branches
Unknown
Tags
Unknown