X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..07691282a056c4efea71e1e505527601e8cc166b:/OSX/libsecurity_asn1/lib/secasn1u.c diff --git a/OSX/libsecurity_asn1/lib/secasn1u.c b/OSX/libsecurity_asn1/lib/secasn1u.c index 30e630be..a48940e3 100644 --- a/OSX/libsecurity_asn1/lib/secasn1u.c +++ b/OSX/libsecurity_asn1/lib/secasn1u.c @@ -88,7 +88,8 @@ SEC_ASN1GetSubtemplate ( PRBool encoding #ifdef __APPLE__ , - const char *buf // for decode only + const char *buf, // for decode only + size_t len #endif ) { @@ -105,7 +106,7 @@ SEC_ASN1GetSubtemplate ( if (thing != NULL) { thing = (char *)thing - theTemplate->offset; } - subt = (* chooserp)(thing, encoding, buf, dest); + subt = (* chooserp)(thing, encoding, buf, len, dest); } } else { subt = (SecAsn1Template*)theTemplate->sub;