aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/tasn_utl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-02-23 03:16:09 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-02-23 03:16:09 +0000
commitbb5ea36b962453c4d74dab15ac1897725a02707d (patch)
tree3bf427b77627b9c2a45c7f6288deda545822ccca /crypto/asn1/tasn_utl.c
parente3a91640739c4c016e234550ed913e7f7f6970f9 (diff)
downloadopenssl-bb5ea36b962453c4d74dab15ac1897725a02707d.zip
openssl-bb5ea36b962453c4d74dab15ac1897725a02707d.tar.gz
openssl-bb5ea36b962453c4d74dab15ac1897725a02707d.tar.bz2
Initial support for ASN1_ITEM_FUNCTION option to
change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
Diffstat (limited to 'crypto/asn1/tasn_utl.c')
-rw-r--r--crypto/asn1/tasn_utl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_utl.c b/crypto/asn1/tasn_utl.c
index 2e18f9f..8996ce8 100644
--- a/crypto/asn1/tasn_utl.c
+++ b/crypto/asn1/tasn_utl.c
@@ -209,7 +209,7 @@ const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int
if(!(tt->flags & ASN1_TFLG_ADB_MASK)) return tt;
/* Else ANY DEFINED BY ... get the table */
- adb = tt->item;
+ adb = ASN1_ADB_ptr(tt->item);
/* Get the selector field */
sfld = offset2ptr(*pval, adb->offset);