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 03:18:52 +0000 (13:18 +1000)
commit35fa31cc9d480dcd5108d17ccf8dc576bee20f09
tree7ecc917e18c6fb6c55bec0ce6b3c60a3f374e87e
parent34515e8f88e57c13cdf2b1d4ec094ffd4e9f8d94
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)

(cherry picked from commit 35c9408108f3608eb572acd7f64a93cf4f43f4f6)
crypto/ts/ts_lib.c