projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e756c
)
Asn1_encode: indicate DER compressed form without tag or length as input
author
Sam Hartman
<hartmans@mit.edu>
Mon, 19 Sep 2011 00:54:11 +0000
(
00:54
+0000)
committer
Sam Hartman
<hartmans@mit.edu>
Mon, 19 Sep 2011 00:54:11 +0000
(
00:54
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25196
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/asn.1/asn1_encode.h
patch
|
blob
|
history
diff --git
a/src/lib/krb5/asn.1/asn1_encode.h
b/src/lib/krb5/asn.1/asn1_encode.h
index 97256a73ae88ef41d29df2ebc0ffd88205afb030..773198f5f422b10055b35b51557967b98ed27d89 100644
(file)
--- 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);
/*