We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a98d90 commit eb12225Copy full SHA for eb12225
1 file changed
src/internal.c
@@ -8641,6 +8641,9 @@ static int BuildUserAuthRequestEcc(WOLFSSH* ssh,
8641
word32 rSz = ECC_MAX_SIG_SIZE / 2;
8642
word32 sSz = ECC_MAX_SIG_SIZE / 2;
8643
word32 sigSz = ECC_MAX_SIG_SIZE;
8644
+ byte* checkData = NULL;
8645
+ word32 checkDataSz = 0;
8646
+
8647
#ifdef WOLFSSH_SMALL_STACK
8648
r_ptr = (byte*)WMALLOC(rSz, ssh->ctx->heap, DYNTYPE_BUFFER);
8649
s_ptr = (byte*)WMALLOC(sSz, ssh->ctx->heap, DYNTYPE_BUFFER);
@@ -8655,8 +8658,6 @@ static int BuildUserAuthRequestEcc(WOLFSSH* ssh,
8655
8658
s_ptr = s_s;
8656
8659
sig_ptr = sig_s;
8657
8660
#endif
- byte* checkData = NULL;
- word32 checkDataSz = 0;
8661
8662
if (ssh == NULL || output == NULL || idx == NULL || authData == NULL ||
8663
sigStart == NULL || keySig == NULL) {
0 commit comments