Skip to content

Commit d57474a

Browse files
embhornJacobBarthelmeh
authored andcommitted
Fix DeriveTls13Keys with no_key
1 parent b3f08f3 commit d57474a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/tls13.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,12 @@ int DeriveTls13Keys(WOLFSSL* ssl, int secret, int side, int store)
15411541
}
15421542
break;
15431543

1544+
case no_key:
1545+
/* Called with early data to derive keys from existing secrets
1546+
* without re-deriving the secrets themselves. */
1547+
ret = 0;
1548+
break;
1549+
15441550
default:
15451551
ret = BAD_FUNC_ARG;
15461552
break;

0 commit comments

Comments
 (0)