forked from wolfSSL/wolfssl
Merge pull request #875 from dgarske/fix_asn_setname_len
Fix issue with ASN encoding SetName function header length
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user