summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael McConville <mmcc@cvs.openbsd.org>2015-12-22 08:44:45 +0000
committerMichael McConville <mmcc@cvs.openbsd.org>2015-12-22 08:44:45 +0000
commitb34c4fd39d5f761e985b17ad411cea153661dc1f (patch)
tree967022ad584b4e8b3a4bee2542d11fd211c1e51c /lib
parent33306a745818c972ba0322eddce333a726122cd9 (diff)
initialize a pointer to NULL rather than 0
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/asn1/tasn_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/tasn_enc.c b/lib/libcrypto/asn1/tasn_enc.c
index c59033e54d6..0a6426a95e2 100644
--- a/lib/libcrypto/asn1/tasn_enc.c
+++ b/lib/libcrypto/asn1/tasn_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tasn_enc.c,v 1.16 2015/02/14 15:23:57 miod Exp $ */
+/* $OpenBSD: tasn_enc.c,v 1.17 2015/12/22 08:44:44 mmcc Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -134,7 +134,7 @@ ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
int i, seqcontlen, seqlen, ndef = 1;
const ASN1_EXTERN_FUNCS *ef;
const ASN1_AUX *aux = it->funcs;
- ASN1_aux_cb *asn1_cb = 0;
+ ASN1_aux_cb *asn1_cb = NULL;
if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
return 0;