diff options
Diffstat (limited to 'crypto/ts/ts_lib.c')
-rw-r--r-- | crypto/ts/ts_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ts/ts_lib.c b/crypto/ts/ts_lib.c index 0b4ee03608..fb871d2a0f 100644 --- a/crypto/ts/ts_lib.c +++ b/crypto/ts/ts_lib.c @@ -73,7 +73,7 @@ int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) char *hex; num_bn = BN_new(); - if (!num_bn) + if (num_bn == NULL) return -1; ASN1_INTEGER_to_BN(num, num_bn); if ((hex = BN_bn2hex(num_bn))) { |