From: Rich Salz Date: Thu, 31 Aug 2017 22:27:06 +0000 (-0400) Subject: Avoid possible uninitialized variable. X-Git-Tag: OpenSSL_1_1_1-pre1~710 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ccb76685e0dcdeefea11f21f07b06f8faf3656aa;p=oweals%2Fopenssl.git Avoid possible uninitialized variable. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4307) --- diff --git a/ssl/statem/extensions_clnt.c b/ssl/statem/extensions_clnt.c index 8db895b0fe..d8a9f7cd34 100644 --- a/ssl/statem/extensions_clnt.c +++ b/ssl/statem/extensions_clnt.c @@ -679,7 +679,7 @@ EXT_RETURN tls_construct_ctos_early_data(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx, int *al) { - const unsigned char *id; + const unsigned char *id = NULL; size_t idlen = 0; SSL_SESSION *psksess = NULL; SSL_SESSION *edsess = NULL;