mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
TLS1.3: Correct intermediate secret derivation
This label for this derivation was incorrectly "derived" or "der" depending on the pointer size of the build(!). The correct string is "derived secret".
This commit is contained in:
parent
43c564170c
commit
936dcf2720
@ -124,7 +124,7 @@ int tls13_generate_secret(SSL *s, const EVP_MD *md,
|
||||
size_t mdlen, prevsecretlen;
|
||||
int ret;
|
||||
EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, NULL);
|
||||
const char *derived_secret_label = "derived secret";
|
||||
static const char derived_secret_label[] = "derived secret";
|
||||
unsigned char preextractsec[EVP_MAX_MD_SIZE];
|
||||
|
||||
if (pctx == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user