diff options
author | tb <> | 2025-01-07 14:22:19 +0000 |
---|---|---|
committer | tb <> | 2025-01-07 14:22:19 +0000 |
commit | d8404c981eba67969bbcf9f164449ff63d8b4649 (patch) | |
tree | 12dba5a12c4c0b1322a9318a804ee7ddcaf94b5a /src/lib/libc/stdlib | |
parent | 8af017c4e7dd8e8ee124c5cb7bc8370f1f2d179c (diff) | |
download | openbsd-d8404c981eba67969bbcf9f164449ff63d8b4649.tar.gz openbsd-d8404c981eba67969bbcf9f164449ff63d8b4649.tar.bz2 openbsd-d8404c981eba67969bbcf9f164449ff63d8b4649.zip |
Rewrite TS_ASN1_INTEGER_print_bio()
This eliminates another stupid BN_free(&bn) and uses BIO_printf() rather
than a ludicrously silly result dance. In fact it appears that this dance
was so hard to grok that OpenSSL misread it and made this function return
the value -1 on ASN1_INTEGER_to_BN() failure, a value that it had never
returned before.
It doesn't matter anyway. The only uses of this function are internal to
OpenSSL's code and since TS fully conforms to OpenSSL's high QA standards,
no caller checks the return of TS_ASN1_INTEGER_print_bio().
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions