Fix asprintf() error check. Portable code should check the return
authortb <tb@openbsd.org>
Mon, 13 Dec 2021 19:47:40 +0000 (19:47 +0000)
committertb <tb@openbsd.org>
Mon, 13 Dec 2021 19:47:40 +0000 (19:47 +0000)
commita7a431551857bf3c39ec3226ce764c18e8585cf3
tree12831f27900a5a732d48432c6a8a61f206930f3d
parent94329b3afb112bc684ba4ddfeb7648daac1e3a7e
Fix asprintf() error check. Portable code should check the return
value for -1, not buf == NULL.

ok tobhe
sbin/iked/ca.c