forked from wolfSSL/wolfssl
initialize temp sequence number
This commit is contained in:
@ -3992,7 +3992,7 @@ static INLINE void DtlsSEQIncrement(WOLFSSL* ssl, int verify)
|
|||||||
|
|
||||||
static INLINE void WriteSEQ(WOLFSSL* ssl, int verify, byte* out)
|
static INLINE void WriteSEQ(WOLFSSL* ssl, int verify, byte* out)
|
||||||
{
|
{
|
||||||
word32 seq[2];
|
word32 seq[2] = {0, 0};
|
||||||
|
|
||||||
if (!ssl->options.dtls) {
|
if (!ssl->options.dtls) {
|
||||||
GetSEQIncrement(ssl, verify, seq);
|
GetSEQIncrement(ssl, verify, seq);
|
||||||
|
@ -688,7 +688,7 @@ static INLINE void DtlsGetSEQ(WOLFSSL* ssl, int verify, word32 seq[2])
|
|||||||
|
|
||||||
static INLINE void WriteSEQ(WOLFSSL* ssl, int verify, byte* out)
|
static INLINE void WriteSEQ(WOLFSSL* ssl, int verify, byte* out)
|
||||||
{
|
{
|
||||||
word32 seq[2];
|
word32 seq[2] = {0, 0};
|
||||||
|
|
||||||
if (!ssl->options.dtls) {
|
if (!ssl->options.dtls) {
|
||||||
GetSEQIncrement(ssl, verify, seq);
|
GetSEQIncrement(ssl, verify, seq);
|
||||||
|
Reference in New Issue
Block a user