mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Avoid compiler complaining
initialize some local variables Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3741)
This commit is contained in:
parent
23cec1f4b4
commit
15b1688ac9
@ -790,11 +790,11 @@ EXT_RETURN tls_construct_ctos_psk(SSL *s, WPACKET *pkt, unsigned int context,
|
||||
X509 *x, size_t chainidx, int *al)
|
||||
{
|
||||
#ifndef OPENSSL_NO_TLS1_3
|
||||
uint32_t now, agesec, agems;
|
||||
size_t reshashsize, pskhashsize, binderoffset, msglen, idlen;
|
||||
uint32_t now, agesec, agems = 0;
|
||||
size_t reshashsize = 0, pskhashsize = 0, binderoffset, msglen, idlen = 0;
|
||||
unsigned char *resbinder = NULL, *pskbinder = NULL, *msgstart = NULL;
|
||||
const unsigned char *id;
|
||||
const EVP_MD *handmd = NULL, *mdres, *mdpsk;
|
||||
const unsigned char *id = 0;
|
||||
const EVP_MD *handmd = NULL, *mdres = NULL, *mdpsk = NULL;
|
||||
EXT_RETURN ret = EXT_RETURN_FAIL;
|
||||
SSL_SESSION *psksess = NULL;
|
||||
int dores = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user