fmt_asn1generic, see t10.c for example usage) add "generic" asn.1 dumper (in t10.c) fix some read off-by-one errors, minor cleanups add real OID support add bitstring support
6 lines
120 B
C
6 lines
120 B
C
#include "ldap.h"
|
|
|
|
size_t fmt_ldapstring(char* dest,struct string* s) {
|
|
return fmt_asn1OCTETSTRING(dest,s->s,s->l);
|
|
}
|