mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-29 22:03:22 +02:00
addressed review comments
This commit is contained in:
@@ -329,29 +329,6 @@ static void SetKeyShare(WOLFSSL* ssl, int onlyKeyShare, int useX25519,
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_EARLY_DATA
|
||||
static void EarlyDataStatus(WOLFSSL* ssl)
|
||||
{
|
||||
int earlyData_status;
|
||||
|
||||
earlyData_status = wolfSSL_get_early_data_status(ssl);
|
||||
if (earlyData_status < 0) return;
|
||||
|
||||
printf("Early Data was ");
|
||||
|
||||
switch(earlyData_status) {
|
||||
case WOLFSSL_EARLY_DATA_NOT_SENT:
|
||||
printf("not sent.\n");
|
||||
break;
|
||||
case WOLFSSL_EARLY_DATA_REJECTED:
|
||||
printf("rejected.\n");
|
||||
break;
|
||||
case WOLFSSL_EARLY_DATA_ACCEPTED:
|
||||
printf("accepted\n");
|
||||
break;
|
||||
default:
|
||||
printf("unknown...\n");
|
||||
}
|
||||
}
|
||||
static void EarlyData(WOLFSSL_CTX* ctx, WOLFSSL* ssl, const char* msg,
|
||||
int msgSz, char* buffer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user