Dr. Stephen Henson d6be3124f2 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:25 +01:00
..
2015-06-02 09:12:39 +01:00
2015-05-22 10:24:49 +01:00
2015-02-27 20:32:49 +00:00
2015-01-22 09:38:39 +00:00
2015-06-08 15:05:08 +02:00
2015-07-02 13:04:25 +01:00
2015-03-11 10:49:22 +00:00
2015-07-02 13:04:25 +01:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-06-11 10:08:18 +01:00
2015-05-05 20:07:48 +01:00
2015-06-02 12:44:40 +01:00
2015-04-30 23:26:06 +01:00
2015-06-12 15:45:17 +01:00
2015-01-22 09:38:39 +00:00
2015-04-16 13:51:51 -04:00