summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2023-06-01 07:29:15 +0000
committertb <>2023-06-01 07:29:15 +0000
commitcc189c580a85ba75a6ca60bf3d50a3edee8845bd (patch)
tree204afc29a69c2bca10670d98ef7212652e852472 /src/regress
parent8d97f6e802c7062366965028c126c73141f3591d (diff)
downloadopenbsd-cc189c580a85ba75a6ca60bf3d50a3edee8845bd.tar.gz
openbsd-cc189c580a85ba75a6ca60bf3d50a3edee8845bd.tar.bz2
openbsd-cc189c580a85ba75a6ca60bf3d50a3edee8845bd.zip
Check for X509_get_ext_d2i() failure
X509_get_ext_d2i() (or rather X509V3_get_d2i()) can return NULL for various reasons. If it fails because the extension wasn't found, it sets *crit = -1. In any other case, e.g., the cert is bad or we ran out of memory in X509V3_EXT_d2i(), crit is set to something else, so we should actually error. ok jsing
Diffstat (limited to 'src/regress')
0 files changed, 0 insertions, 0 deletions