summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorMichael McConville <mmcc@cvs.openbsd.org>2015-12-23 01:50:27 +0000
committerMichael McConville <mmcc@cvs.openbsd.org>2015-12-23 01:50:27 +0000
commit5cc1900068fdf65426e16559e57ad6f728354452 (patch)
treea4e953eaa6615b2b73f3cf712079026d8687e76a /lib/libcrypto
parentb2c5867c1dc2e49c0db15447717b6201d9e9b185 (diff)
assign pointer NULL rather than 0
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/asn1/tasn_prn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/tasn_prn.c b/lib/libcrypto/asn1/tasn_prn.c
index c9fde96789f..c8601a1a895 100644
--- a/lib/libcrypto/asn1/tasn_prn.c
+++ b/lib/libcrypto/asn1/tasn_prn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tasn_prn.c,v 1.13 2015/02/14 15:15:27 miod Exp $ */
+/* $OpenBSD: tasn_prn.c,v 1.14 2015/12/23 01:50:26 mmcc Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -214,7 +214,7 @@ asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it,
parg.pctx = pctx;
asn1_cb = aux->asn1_cb;
} else
- asn1_cb = 0;
+ asn1_cb = NULL;
if (*fld == NULL) {
if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_ABSENT) {