From ddeea89c820f324fdd6fe7e873892660ae47ac2c Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 12 Dec 2021 20:22:59 +0000 Subject: [PATCH] Use correct spelling of NULL ok inoguchi --- usr.bin/openssl/ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/openssl/ts.c b/usr.bin/openssl/ts.c index 9ac3aca6e5a..40c1a49b238 100644 --- a/usr.bin/openssl/ts.c +++ b/usr.bin/openssl/ts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts.c,v 1.16 2021/12/12 20:22:08 tb Exp $ */ +/* $OpenBSD: ts.c,v 1.17 2021/12/12 20:22:59 tb Exp $ */ /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL * project 2002. */ @@ -552,7 +552,7 @@ create_digest(BIO * input, char *digest, const EVP_MD * md, int length; *md_value = malloc(md_value_len); - if (*md_value == 0) + if (*md_value == NULL) goto err; if ((md_ctx = EVP_MD_CTX_new()) == NULL) -- 2.20.1