Branch: Tag:

2014-04-25

2014-04-25 14:20:10 by Martin Nilsson <nilsson@opera.com>

Use multiset for critical flags everywhere.

1081:    if(stringp(tbs)) tbs = decode_certificate(tbs);    if(!tbs) return 0;    -  array crit = indices(tbs->critical); +  multiset crit = tbs->critical + (<>);    int self_signed = (tbs->issuer->get_der() == tbs->subject->get_der());       Object lookup(Identifier id)    { -  crit -= ({id}); +  crit[id] = 0;    return tbs->extensions[id];    };