diff --git a/src/internal.c b/src/internal.c index 42ac95fce..22da068fb 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1113,7 +1113,7 @@ static int dtls_export_load(WOLFSSL* ssl, const byte* exp, word32 len, byte ver) } #else if (ver > DTLS_EXPORT_VERSION_3) { - exp[idx++] = 0; + idx++; } #endif #else