diff options
author | tb <> | 2021-12-12 20:22:59 +0000 |
---|---|---|
committer | tb <> | 2021-12-12 20:22:59 +0000 |
commit | 25b5b1d125b9cbfb86966328303f1c859a69c17b (patch) | |
tree | ca4e7777aa561c441ccad4637f395547f0bee497 /src | |
parent | 687e11a4199774c4e744013ed0169c5276c2de33 (diff) | |
download | openbsd-25b5b1d125b9cbfb86966328303f1c859a69c17b.tar.gz openbsd-25b5b1d125b9cbfb86966328303f1c859a69c17b.tar.bz2 openbsd-25b5b1d125b9cbfb86966328303f1c859a69c17b.zip |
Use correct spelling of NULL
ok inoguchi
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ts.c b/src/usr.bin/openssl/ts.c index 9ac3aca6e5..40c1a49b23 100644 --- a/src/usr.bin/openssl/ts.c +++ b/src/usr.bin/openssl/ts.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts.c,v 1.16 2021/12/12 20:22:08 tb Exp $ */ | 1 | /* $OpenBSD: ts.c,v 1.17 2021/12/12 20:22:59 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -552,7 +552,7 @@ create_digest(BIO * input, char *digest, const EVP_MD * md, | |||
552 | int length; | 552 | int length; |
553 | 553 | ||
554 | *md_value = malloc(md_value_len); | 554 | *md_value = malloc(md_value_len); |
555 | if (*md_value == 0) | 555 | if (*md_value == NULL) |
556 | goto err; | 556 | goto err; |
557 | 557 | ||
558 | if ((md_ctx = EVP_MD_CTX_new()) == NULL) | 558 | if ((md_ctx = EVP_MD_CTX_new()) == NULL) |