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
commitccc1915da4f36aa6972b8d8dcdde6fd01c73fe06 (patch)
tree8d352e59e1a61984997f2ee98d727df2b1f0219f /src/lib/libcrypto/asn1/tasn_utl.c
parent6c128ec475e69981d949d4ae0a99470980f6028b (diff)
downloadopenbsd-ccc1915da4f36aa6972b8d8dcdde6fd01c73fe06.tar.gz
openbsd-ccc1915da4f36aa6972b8d8dcdde6fd01c73fe06.tar.bz2
openbsd-ccc1915da4f36aa6972b8d8dcdde6fd01c73fe06.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);