forked from wolfSSL/wolfssl
Merge pull request #4867 from maximevince/master
Fix WOLFSSL_NO_TLS12 for Async dev
This commit is contained in:
@@ -6978,8 +6978,10 @@ void FreeKeyExchange(WOLFSSL* ssl)
|
|||||||
ssl->async.freeArgs(ssl, ssl->async.args);
|
ssl->async.freeArgs(ssl, ssl->async.args);
|
||||||
ssl->async.freeArgs = NULL;
|
ssl->async.freeArgs = NULL;
|
||||||
}
|
}
|
||||||
|
#ifndef WOLFSSL_NO_TLS12
|
||||||
FreeBuildMsgArgs(ssl, &ssl->async.buildArgs);
|
FreeBuildMsgArgs(ssl, &ssl->async.buildArgs);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4137,7 +4137,9 @@ typedef struct BuildMsgArgs {
|
|||||||
WC_ASYNC_DEV* dev;
|
WC_ASYNC_DEV* dev;
|
||||||
FreeArgsCb freeArgs; /* function pointer to cleanup args */
|
FreeArgsCb freeArgs; /* function pointer to cleanup args */
|
||||||
word32 args[MAX_ASYNC_ARGS]; /* holder for current args */
|
word32 args[MAX_ASYNC_ARGS]; /* holder for current args */
|
||||||
|
#ifndef WOLFSSL_NO_TLS12
|
||||||
BuildMsgArgs buildArgs; /* holder for current BuildMessage args */
|
BuildMsgArgs buildArgs; /* holder for current BuildMessage args */
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user