Merge pull request #875 from dgarske/fix_asn_setname_len

Fix issue with ASN encoding SetName function header length
This commit is contained in:
JacobBarthelmeh
2017-04-26 10:03:25 -06:00
committed by GitHub

View File

@ -7700,7 +7700,6 @@ int SetName(byte* output, word32 outputSz, CertName* name)
firstSz = SetObjectId(JOINT_LEN + 1, firstLen);
}
thisLen += firstSz;
thisLen++; /* object id */
seqSz = SetSequence(thisLen, sequence);
thisLen += seqSz;