summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authorjsing <>2022-10-17 18:56:54 +0000
committerjsing <>2022-10-17 18:56:54 +0000
commit7ec30b26db8e76fdcf25b85a337d066de2e9dda4 (patch)
tree7947de47c2206d6d99f658484d0f7008794837c7 /src/lib/libc/stdlib/getenv.c
parent88e2e531dd14bb11c24ba57cd3d8d2affeb7ec31 (diff)
downloadopenbsd-7ec30b26db8e76fdcf25b85a337d066de2e9dda4.tar.gz
openbsd-7ec30b26db8e76fdcf25b85a337d066de2e9dda4.tar.bz2
openbsd-7ec30b26db8e76fdcf25b85a337d066de2e9dda4.zip
Store errors that result from leaf certificate verification.
In the case that a verification callback is installed that tells the verifier to continue when a certificate is invalid (e.g. expired), any error resulting from the leaf certificate verification is not stored and made available post verification, resulting in an incorrect error being returned. Also perform leaf certificate verification prior to adding the chain, which avoids a potential memory leak (as noted by tb@). Issue reported by Ilya Shipitsin, who encountered haproxy regress failures. ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions