Dr. Stephen Henson 1392c23865 Fix PSK handling.
The PSK identity hint should be stored in the SSL_SESSION structure
and not in the parent context (which will overwrite values used
by other SSL structures with the same SSL_CTX).

Use BUF_strndup when copying identity as it may not be null terminated.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 3c66a669dfc7b3792f7af0758ea26fe8502ce70c)
2015-07-02 13:04:42 +01:00
..
2015-06-02 09:15:16 +01:00
2015-01-22 09:46:18 +00:00
2015-01-22 09:46:18 +00:00
2015-03-19 13:00:12 +00:00
2015-07-02 13:04:42 +01:00
2015-03-11 10:54:35 +00:00
2015-07-02 13:04:42 +01:00
2015-01-22 09:46:18 +00:00
2015-01-22 09:46:18 +00:00
2015-01-22 09:46:18 +00:00
2015-06-11 10:13:02 +01:00
2015-06-02 12:49:03 +01:00
2015-02-06 10:12:43 +00:00
2015-03-11 10:54:35 +00:00
2015-01-22 09:46:18 +00:00