add "generic" format string based encoder and decoder (scan_asn1generic,

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
This commit is contained in:
leitner
2011-04-28 19:50:11 +00:00
parent e90320f819
commit e04ca78ff8
49 changed files with 483 additions and 110 deletions

View File

@@ -4,7 +4,6 @@
#include <string.h>
#include "byte.h"
#include "buffer.h"
#include "asn1.h"
#include "ldap.h"
#include "socket.h"
#include "ip4.h"
@@ -51,7 +50,7 @@ static int ldapbind(int sock) {
}
int main(int argc,char* argv[]) {
int sock;
int sock=0;
char buf[BUFSIZE];
int len=0;
char* me;