diff options
author | jsing <> | 2016-12-30 15:54:49 +0000 |
---|---|---|
committer | jsing <> | 2016-12-30 15:54:49 +0000 |
commit | ae84f39407e5f0add92094593cc52922198355d4 (patch) | |
tree | 853b9e5ebf0a8736f0e5ed0a4f77b796ee89ce19 /src/lib/libcrypto/x509v3/v3_pci.c | |
parent | 1ac942fa8a015058791a7b0e48924e2b3201f528 (diff) | |
download | openbsd-ae84f39407e5f0add92094593cc52922198355d4.tar.gz openbsd-ae84f39407e5f0add92094593cc52922198355d4.tar.bz2 openbsd-ae84f39407e5f0add92094593cc52922198355d4.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_pci.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_pci.c b/src/lib/libcrypto/x509v3/v3_pci.c index ff1d087667..d0a1af96ea 100644 --- a/src/lib/libcrypto/x509v3/v3_pci.c +++ b/src/lib/libcrypto/x509v3/v3_pci.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_pci.c,v 1.10 2015/07/29 16:13:49 jsing Exp $ */ | 1 | /* $OpenBSD: v3_pci.c,v 1.11 2016/12/30 15:54:49 jsing Exp $ */ |
2 | /* Contributed to the OpenSSL Project 2004 | 2 | /* Contributed to the OpenSSL Project 2004 |
3 | * by Richard Levitte (richard@levitte.org) | 3 | * by Richard Levitte (richard@levitte.org) |
4 | */ | 4 | */ |
@@ -49,7 +49,7 @@ static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method, | |||
49 | const X509V3_EXT_METHOD v3_pci = { | 49 | const X509V3_EXT_METHOD v3_pci = { |
50 | .ext_nid = NID_proxyCertInfo, | 50 | .ext_nid = NID_proxyCertInfo, |
51 | .ext_flags = 0, | 51 | .ext_flags = 0, |
52 | .it = ASN1_ITEM_ref(PROXY_CERT_INFO_EXTENSION), | 52 | .it = &PROXY_CERT_INFO_EXTENSION_it, |
53 | .ext_new = NULL, | 53 | .ext_new = NULL, |
54 | .ext_free = NULL, | 54 | .ext_free = NULL, |
55 | .d2i = NULL, | 55 | .d2i = NULL, |