diff options
| author | mmcc <> | 2015-12-23 01:50:26 +0000 |
|---|---|---|
| committer | mmcc <> | 2015-12-23 01:50:26 +0000 |
| commit | 9aa6664d2b19fc6a669e2d548bbb7e3bec9e6012 (patch) | |
| tree | 5705d37be6a211db14e3fa31ff1be5805417c77d /src | |
| parent | def92b9d687af788e21407f183715d0811b6fbf4 (diff) | |
| download | openbsd-9aa6664d2b19fc6a669e2d548bbb7e3bec9e6012.tar.gz openbsd-9aa6664d2b19fc6a669e2d548bbb7e3bec9e6012.tar.bz2 openbsd-9aa6664d2b19fc6a669e2d548bbb7e3bec9e6012.zip | |
assign pointer NULL rather than 0
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_prn.c | 4 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/asn1/tasn_prn.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_prn.c b/src/lib/libcrypto/asn1/tasn_prn.c index c9fde96789..c8601a1a89 100644 --- a/src/lib/libcrypto/asn1/tasn_prn.c +++ b/src/lib/libcrypto/asn1/tasn_prn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tasn_prn.c,v 1.13 2015/02/14 15:15:27 miod Exp $ */ | 1 | /* $OpenBSD: tasn_prn.c,v 1.14 2015/12/23 01:50:26 mmcc Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -214,7 +214,7 @@ asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, | |||
| 214 | parg.pctx = pctx; | 214 | parg.pctx = pctx; |
| 215 | asn1_cb = aux->asn1_cb; | 215 | asn1_cb = aux->asn1_cb; |
| 216 | } else | 216 | } else |
| 217 | asn1_cb = 0; | 217 | asn1_cb = NULL; |
| 218 | 218 | ||
| 219 | if (*fld == NULL) { | 219 | if (*fld == NULL) { |
| 220 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_ABSENT) { | 220 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_ABSENT) { |
diff --git a/src/lib/libssl/src/crypto/asn1/tasn_prn.c b/src/lib/libssl/src/crypto/asn1/tasn_prn.c index c9fde96789..c8601a1a89 100644 --- a/src/lib/libssl/src/crypto/asn1/tasn_prn.c +++ b/src/lib/libssl/src/crypto/asn1/tasn_prn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tasn_prn.c,v 1.13 2015/02/14 15:15:27 miod Exp $ */ | 1 | /* $OpenBSD: tasn_prn.c,v 1.14 2015/12/23 01:50:26 mmcc Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -214,7 +214,7 @@ asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, | |||
| 214 | parg.pctx = pctx; | 214 | parg.pctx = pctx; |
| 215 | asn1_cb = aux->asn1_cb; | 215 | asn1_cb = aux->asn1_cb; |
| 216 | } else | 216 | } else |
| 217 | asn1_cb = 0; | 217 | asn1_cb = NULL; |
| 218 | 218 | ||
| 219 | if (*fld == NULL) { | 219 | if (*fld == NULL) { |
| 220 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_ABSENT) { | 220 | if (pctx->flags & ASN1_PCTX_FLAGS_SHOW_ABSENT) { |
