diff options
| author | jsing <> | 2016-12-30 15:54:49 +0000 |
|---|---|---|
| committer | jsing <> | 2016-12-30 15:54:49 +0000 |
| commit | 34bdec04311ee3fb8f658406df37d4da910d1630 (patch) | |
| tree | 853b9e5ebf0a8736f0e5ed0a4f77b796ee89ce19 /src/lib/libcrypto/x509v3/v3_sxnet.c | |
| parent | 19f5bc5369a8920072dcf66ff2aa6e1b7cc62b85 (diff) | |
| download | openbsd-34bdec04311ee3fb8f658406df37d4da910d1630.tar.gz openbsd-34bdec04311ee3fb8f658406df37d4da910d1630.tar.bz2 openbsd-34bdec04311ee3fb8f658406df37d4da910d1630.zip | |
Expand ASN1_ITEM_ref and ASN1_ITEM_ptr macros - no change in generated
assembly. Of particular interest is ASN1_ITEM_ptr which does nothing
and resulted in code like:
if (method->it)
ASN1_ITEM_free(..., ASN1_ITEM_ptr(method->it));
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_sxnet.c')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_sxnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_sxnet.c b/src/lib/libcrypto/x509v3/v3_sxnet.c index 29976b1d68..bb88da4b49 100644 --- a/src/lib/libcrypto/x509v3/v3_sxnet.c +++ b/src/lib/libcrypto/x509v3/v3_sxnet.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_sxnet.c,v 1.17 2015/09/30 17:30:16 jsing Exp $ */ | 1 | /* $OpenBSD: v3_sxnet.c,v 1.18 2016/12/30 15:54:49 jsing 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 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -79,7 +79,7 @@ static SXNET * sxnet_v2i(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, | |||
| 79 | const X509V3_EXT_METHOD v3_sxnet = { | 79 | const X509V3_EXT_METHOD v3_sxnet = { |
| 80 | .ext_nid = NID_sxnet, | 80 | .ext_nid = NID_sxnet, |
| 81 | .ext_flags = X509V3_EXT_MULTILINE, | 81 | .ext_flags = X509V3_EXT_MULTILINE, |
| 82 | .it = ASN1_ITEM_ref(SXNET), | 82 | .it = &SXNET_it, |
| 83 | .ext_new = NULL, | 83 | .ext_new = NULL, |
| 84 | .ext_free = NULL, | 84 | .ext_free = NULL, |
| 85 | .d2i = NULL, | 85 | .d2i = NULL, |
