From e4b9fe68f9517955523d3e1a067b607700e29e77 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 19 Sep 2011 00:54:11 +0000 Subject: [PATCH] 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 --- src/lib/krb5/asn.1/asn1_encode.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h index 97256a73a..773198f5f 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); /* -- 2.26.2