Noah Misch <noah@leadboat.com> writes:
> On further thought, I would write it this way:
> - else
> + else if (ivlen != 0)
> memcpy(ivbuf, iv, ivlen);
FWIW, I liked the "ivlen > 0" formulation better. They should be
equivalent, because ivlen is unsigned, but it just seems like "> 0"
is more natural.
regards, tom lane