[PATCH 1/2] cipher: Add PUBKEY_FLAG_BYTE_STRING to support byte string data.
Werner Koch
wk at gnupg.org
Sun Jun 22 19:00:48 CEST 2025
On Wed, 18 Jun 2025 16:39, NIIBE Yutaka said:
> + /* Get VALUE. */
> + value = sexp_nth_buffer (lvalue, 1, &valuelen);
> + if (!value)
> + rc = GPG_ERR_INV_OBJ;
> + if (rc)
> + goto leave;
Please change the above to
> + if (!value)
> + {
> + rc = GPG_ERR_INV_OBJ;
> + goto leave;
> + }
just because this is easier to understand and the same pattern we use
above.
Shalom-Salam,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250622/59cb6880/attachment.sig>
More information about the Gcrypt-devel
mailing list