Fixed modifying a const value.

This commit is contained in:
Stanislav Klima
2021-03-25 15:36:30 +01:00
parent fd7131197f
commit 6c7b3d806a

View File

@ -1113,7 +1113,7 @@ static int dtls_export_load(WOLFSSL* ssl, const byte* exp, word32 len, byte ver)
} }
#else #else
if (ver > DTLS_EXPORT_VERSION_3) { if (ver > DTLS_EXPORT_VERSION_3) {
exp[idx++] = 0; idx++;
} }
#endif #endif
#else #else