X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..dd5fb164cf5b32c462296bc65e289e100f74b59a:/OSX/libsecurity_asn1/lib/secasn1.h?ds=sidebyside diff --git a/OSX/libsecurity_asn1/lib/secasn1.h b/OSX/libsecurity_asn1/lib/secasn1.h index 6ff361f2..34834c5d 100644 --- a/OSX/libsecurity_asn1/lib/secasn1.h +++ b/OSX/libsecurity_asn1/lib/secasn1.h @@ -69,7 +69,7 @@ extern SEC_ASN1DecoderContext *SEC_ASN1DecoderStart(PRArenaPool *pool, * Only needed if first element will * be SEC_ASN1_DYNAMIC */ - const char *buf); + const char *buf, size_t len); /* XXX char or unsigned char? */ extern SECStatus SEC_ASN1DecoderUpdate(SEC_ASN1DecoderContext *cx, @@ -190,7 +190,7 @@ SEC_ASN1GetSubtemplate ( const SecAsn1Template *inTemplate, void *thing, PRBool encoding, - const char *buf); /* __APPLE__ addenda: for decode only */ + const char *buf, size_t len); /* __APPLE__ addenda: for decode only */ extern SecAsn1Item *sec_asn1e_allocate_item ( PRArenaPool *poolp,