]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_asn1/lib/secasn1u.c
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_asn1 / lib / secasn1u.c
index 30e630be50a4c8a6b5cdb5f8cc1bf3abb3047608..a48940e3a4f545186b24874fd316936d7dacdd90 100644 (file)
@@ -88,7 +88,8 @@ SEC_ASN1GetSubtemplate (
        PRBool encoding
        #ifdef  __APPLE__
        ,
        PRBool encoding
        #ifdef  __APPLE__
        ,
-       const char *buf                 // for decode only
+       const char *buf,                        // for decode only
+       size_t len
        #endif
        )
 {
        #endif
        )
 {
@@ -105,7 +106,7 @@ SEC_ASN1GetSubtemplate (
                        if (thing != NULL) {
                                thing = (char *)thing - theTemplate->offset;
                        }
                        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;
            }
        } else {
            subt = (SecAsn1Template*)theTemplate->sub;