Branch: Tag:

2014-02-17

2014-02-17 14:05:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.X509: Fixed some typos.

427:    i = IssuerId(i->value);    } else if (i->raw) {    // Convert Primitive to IssuerId. -  (i = IssuerId())->decode_primitive(a[i]->raw); +  (i = IssuerId())->decode_primitive(i->raw);    }    if (!issuer_pos) {    if (version < 2) version = 2;
460:    if (s->cls != 2) {    // Convert BitString to SubjectId.    s = SubjectId()->decode_primitive(s->raw); -  } else if (i->raw) { +  } else if (s->raw) {    // Convert Primitive to SubjectId. -  (s = SubjectId())->decode_primitive(a[i]->raw); +  (s = SubjectId())->decode_primitive(s->raw);    }    if (!subject_pos) {    if (version < 2) version = 2;