Branch: Tag:

2014-06-21

2014-06-21 00:35:42 by Martin Nilsson <nilsson@opera.com>

Merge snmp_type_proc with common primitives.

135:   //! decode ASN1 data, if garbaged ignore it   mapping decode_asn1_msg(mapping rawd) {    -  Object xdec = Standards.ASN1.Decode.der_decode(rawd->data, snmp_type_proc); +  Object xdec = Standards.ASN1.Decode.simple_der_decode(rawd->data, +  snmp_type_proc);    string msgid = (string)xdec->elements[2]->elements[0]->value;    int errno = xdec->elements[2]->elements[1]->value;    mapping msg = ([ "ip":rawd->ip,