diff options
| author | tb <> | 2023-03-13 07:31:09 +0000 |
|---|---|---|
| committer | tb <> | 2023-03-13 07:31:09 +0000 |
| commit | 1a2e5d994000e27e8d3809226045e1ebd95bb0df (patch) | |
| tree | f95ecf2981293dd65813815d89c743d68930c244 /src/lib/libc/stdlib/atof.c | |
| parent | a000ef26734da6ea7f446ae52ac64059cf358592 (diff) | |
| download | openbsd-1a2e5d994000e27e8d3809226045e1ebd95bb0df.tar.gz openbsd-1a2e5d994000e27e8d3809226045e1ebd95bb0df.tar.bz2 openbsd-1a2e5d994000e27e8d3809226045e1ebd95bb0df.zip | |
Stop confusing out and asn_bio in BIO_new_NDEF()
BIO_new_NDEF() sets up an ASN.1 BIO to the output chain and then adds even
more BIOs. Since BIO_push(bio, new_tail) returns bio on success, after the
if ((out = BIO_push(asn_bio, out)) != NULL) the 'out' BIO and the 'asn_bio'
are the same. The code then goes on and uses one or the other. This is very
confusing. Simply stop using out once it's appended to asn_bio.
ok jsing
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
