From: Sam Hartman Date: Mon, 19 Sep 2011 00:54:11 +0000 (+0000) Subject: Asn1_encode: indicate DER compressed form without tag or length as input X-Git-Tag: krb5-1.10-alpha1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b9fe68f9517955523d3e1a067b607700e29e77;p=thirdparty%2Fkrb5.git Asn1_encode: indicate DER compressed form without tag or length as input git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25196 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h index 97256a73ae..773198f5f4 100644 --- a/src/lib/krb5/asn.1/asn1_encode.h +++ b/src/lib/krb5/asn.1/asn1_encode.h @@ -89,6 +89,10 @@ asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len, */ #define asn1_encode_charstring asn1_encode_octetstring +/** + * Encode @a val, an object identifier in compressed DER form without a tag or + * length. This function adds the OID tag and length. + */ asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len, const void *val, unsigned int *retlen); /*