Check conversion return in ASN1_INTEGER_print_bio.
authorPauli <paul.dale@oracle.com>
Tue, 31 Jul 2018 01:37:05 +0000 (11:37 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 31 Jul 2018 01:37:05 +0000 (11:37 +1000)
commit35c9408108f3608eb572acd7f64a93cf4f43f4f6
treee571918a3795ba4479ced4bd7966a7014f31e8cb
parent201b305a2409d9eb13b5e4bfbd4967e04e155a60
Check conversion return in ASN1_INTEGER_print_bio.

Also streamline the code by relying on ASN1_INTEGER_to_BN to allocate the
BN instead of doing it separately.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6821)
crypto/ts/ts_lib.c