mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
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);
|
firstSz = SetObjectId(JOINT_LEN + 1, firstLen);
|
||||||
}
|
}
|
||||||
thisLen += firstSz;
|
thisLen += firstSz;
|
||||||
thisLen++; /* object id */
|
|
||||||
|
|
||||||
seqSz = SetSequence(thisLen, sequence);
|
seqSz = SetSequence(thisLen, sequence);
|
||||||
thisLen += seqSz;
|
thisLen += seqSz;
|
||||||
|
Reference in New Issue
Block a user