mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Fixes for build with distro for BuildTls13HandshakeHmac arg change.
This commit is contained in:
@@ -1784,7 +1784,7 @@ static int WritePSKBinders(WOLFSSL* ssl, byte* output, word32 idx)
|
||||
|
||||
/* Build the HMAC of the handshake message data = binder. */
|
||||
ret = BuildTls13HandshakeHmac(ssl, ssl->keys.client_write_MAC_secret,
|
||||
current->binder, current->binderLen);
|
||||
current->binder, ¤t->binderLen);
|
||||
if (ret != 0)
|
||||
return ret;
|
||||
|
||||
@@ -2247,7 +2247,7 @@ static int DoPreSharedKeys(WOLFSSL *ssl, const byte* input, word32 helloSz,
|
||||
PreSharedKey* current;
|
||||
byte binderKey[MAX_DIGEST_SIZE];
|
||||
byte binder[MAX_DIGEST_SIZE];
|
||||
word16 binderLen;
|
||||
word32 binderLen;
|
||||
word16 modes;
|
||||
|
||||
ext = TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY);
|
||||
|
@@ -2051,7 +2051,7 @@ typedef struct PreSharedKey {
|
||||
word16 identityLen; /* Length of identity */
|
||||
byte* identity; /* PSK identity */
|
||||
word32 ticketAge; /* Age of the ticket */
|
||||
byte binderLen; /* Length of HMAC */
|
||||
word32 binderLen; /* Length of HMAC */
|
||||
byte binder[MAX_DIGEST_SIZE]; /* HMAC of hanshake */
|
||||
byte hmac; /* HMAC algorithm */
|
||||
byte resumption:1; /* Resumption PSK */
|
||||
|
Reference in New Issue
Block a user