Skip to content
Commit 1392c238 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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: default avatarTim Hudson <tjh@openssl.org>
(cherry picked from commit 3c66a669)
parent 989ba38f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment