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
10 lines
216 B
C
10 lines
216 B
C
#include "ldap.h"
|
|
|
|
size_t fmt_ldapava(char* dest,struct AttributeValueAssertion* a) {
|
|
size_t sum,l;
|
|
sum=fmt_ldapstring(dest,&a->desc);
|
|
if (dest) dest+=sum;
|
|
l=fmt_ldapstring(dest,&a->value);
|
|
return sum+l;
|
|
}
|