summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_utl.c
diff options
context:
space:
mode:
authorjsing <>2015-07-25 17:07:17 +0000
committerjsing <>2015-07-25 17:07:17 +0000
commit850d74aaf22e3da17aaf016d44c7e064e69b1fa2 (patch)
tree8d352e59e1a61984997f2ee98d727df2b1f0219f /src/lib/libcrypto/asn1/tasn_utl.c
parent2281bb413977f28868acf99a7f40ba2a795be7cf (diff)
downloadopenbsd-850d74aaf22e3da17aaf016d44c7e064e69b1fa2.tar.gz
openbsd-850d74aaf22e3da17aaf016d44c7e064e69b1fa2.tar.bz2
openbsd-850d74aaf22e3da17aaf016d44c7e064e69b1fa2.zip
Manually expand ASN.1 template macros - only change in generated assembly
is due to line numbering.
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_utl.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_utl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_utl.c b/src/lib/libcrypto/asn1/tasn_utl.c
index 8e242e8810..529aaf6116 100644
--- a/src/lib/libcrypto/asn1/tasn_utl.c
+++ b/src/lib/libcrypto/asn1/tasn_utl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_utl.c,v 1.10 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: tasn_utl.c,v 1.11 2015/07/25 17:07:17 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 2000. 3 * project 2000.
4 */ 4 */
@@ -232,7 +232,7 @@ asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
232 return tt; 232 return tt;
233 233
234 /* Else ANY DEFINED BY ... get the table */ 234 /* Else ANY DEFINED BY ... get the table */
235 adb = ASN1_ADB_ptr(tt->item); 235 adb = (const ASN1_ADB *)tt->item;
236 236
237 /* Get the selector field */ 237 /* Get the selector field */
238 sfld = offset2ptr(*pval, adb->offset); 238 sfld = offset2ptr(*pval, adb->offset);