projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721614a
)
Avoid possible uninitialized variable.
author
Rich Salz
<rsalz@openssl.org>
Thu, 31 Aug 2017 22:27:06 +0000
(18:27 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Thu, 31 Aug 2017 22:27:06 +0000
(18:27 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4307)
ssl/statem/extensions_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/statem/extensions_clnt.c
b/ssl/statem/extensions_clnt.c
index 8db895b0fe71a1fa31f40af6a9803407c3792269..d8a9f7cd342cf9766fb44ad5f2ae7ec626de3492 100644
(file)
--- 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;