Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2831)
static char *psk_identity = "Client_identity";
char *psk_key = NULL; /* by default PSK is not used */
-int early_data = 0;
+static int early_data = 0;
static unsigned int psk_server_cb(SSL *ssl, const char *identity,
unsigned char *psk,
SSL_SESSION *sess = NULL;
unsigned int id, i;
const EVP_MD *md = NULL;
- uint32_t ticket_age, now, agesec, agems;
+ uint32_t ticket_age = 0, now, agesec, agems;
/*
* If we have no PSK kex mode that we recognise then we can't resume so