Branch: Tag:

2014-09-30

2014-09-30 00:04:44 by Martin Nilsson <nilsson@opera.com>

No, I had it right the first time. (Though DSA wasn't.)

246:    if (seq[0]->get_der() == Identifiers.rsa_id->get_der())    {    if ( (sizeof(seq) < 1) || (sizeof(seq) > 2) || -  // Strictly there shouldn't be a parameters member here, but -  // there has been a lot of confusion about 1 element sequence -  // vs. 2 element sequence with Null. Allow both for -  // compatibility. +  // Strictly there should always be a Null parameter member +  // here, but there has been a lot of confusion about 1 +  // element sequence vs. 2 element sequence with Null. Allow +  // both for compatibility.    (sizeof(seq)==2 && seq[1]->get_der() != Null()->get_der()) )    return 0;