CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/01/07 07:22:19

Modified files:
        lib/libcrypto/ts: ts_lib.c 

Log message:
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

Reply via email to