diff options
author | 2015-12-22 08:44:44 +0000 | |
---|---|---|
committer | 2015-12-22 08:44:44 +0000 | |
commit | 5fb344b6e8e7cf6a6d02c1507a9836071987162e (patch) | |
tree | 91d6989a8c9d354ef184e42b699b0d22eba1436d | |
parent | Assign pointer variables to NULL rather than 0. No functional change. (diff) | |
download | wireguard-openbsd-5fb344b6e8e7cf6a6d02c1507a9836071987162e.tar.xz wireguard-openbsd-5fb344b6e8e7cf6a6d02c1507a9836071987162e.zip |
initialize a pointer to NULL rather than 0
-rw-r--r-- | lib/libcrypto/asn1/tasn_enc.c | 4 | ||||
-rw-r--r-- | lib/libssl/src/crypto/asn1/tasn_enc.c | 4 |
2 files changed, 4 insertions, 4 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; diff --git a/lib/libssl/src/crypto/asn1/tasn_enc.c b/lib/libssl/src/crypto/asn1/tasn_enc.c index c59033e54d6..0a6426a95e2 100644 --- a/lib/libssl/src/crypto/asn1/tasn_enc.c +++ b/lib/libssl/src/crypto/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; |