summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecx_methods.c
diff options
context:
space:
mode:
authortb <>2023-03-13 07:31:09 +0000
committertb <>2023-03-13 07:31:09 +0000
commit1a2e5d994000e27e8d3809226045e1ebd95bb0df (patch)
treef95ecf2981293dd65813815d89c743d68930c244 /src/lib/libcrypto/ec/ecx_methods.c
parenta000ef26734da6ea7f446ae52ac64059cf358592 (diff)
downloadopenbsd-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 'src/lib/libcrypto/ec/ecx_methods.c')
0 files changed, 0 insertions, 0 deletions