summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-23 01:46:34 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-23 01:46:34 +0000
commit5f3a2475da0bedcede5ae26eb77994ab4f56085e (patch)
tree7a0207b79f73293a953a943ffff98a971d1d92cc /lib/libssl
parentd333f046877b1711c170cfae5d971a4e1793f469 (diff)
assign pointer to NULL rather than 0
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/src/crypto/asn1/bio_asn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/asn1/bio_asn1.c b/lib/libssl/src/crypto/asn1/bio_asn1.c
index 219810db828..02ad3106392 100644
--- a/lib/libssl/src/crypto/asn1/bio_asn1.c
+++ b/lib/libssl/src/crypto/asn1/bio_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bio_asn1.c,v 1.11 2015/02/10 09:52:35 miod Exp $ */
+/* $OpenBSD: bio_asn1.c,v 1.12 2015/12/23 01:46:33 mmcc Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -173,7 +173,7 @@ asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size)
ctx->copylen = 0;
ctx->asn1_class = V_ASN1_UNIVERSAL;
ctx->asn1_tag = V_ASN1_OCTET_STRING;
- ctx->ex_buf = 0;
+ ctx->ex_buf = NULL;
ctx->ex_pos = 0;
ctx->ex_len = 0;
ctx->state = ASN1_STATE_START;