summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorDavid Howells2012-09-22 00:30:51 +0200
committerRusty Russell2012-10-08 05:20:18 +0200
commit4f73175d0375a7c1b3ae625e76acee8b39741f28 (patch)
tree78c47940a9530bf4342f258c322f8e21412f5830 /scripts/Makefile.build
parentX.509: Implement simple static OID registry (diff)
downloadkernel-qcow2-linux-4f73175d0375a7c1b3ae625e76acee8b39741f28.tar.gz
kernel-qcow2-linux-4f73175d0375a7c1b3ae625e76acee8b39741f28.tar.xz
kernel-qcow2-linux-4f73175d0375a7c1b3ae625e76acee8b39741f28.zip
X.509: Add utility functions to render OIDs as strings
Add a pair of utility functions to render OIDs as strings. The first takes an encoded OID and turns it into a "a.b.c.d" form string: int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize); The second takes an OID enum index and calls the first on the data held therein: int sprint_OID(enum OID oid, char *buffer, size_t bufsize); Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/Makefile.build')
0 files changed, 0 insertions, 0 deletions