Commit 3c66a669 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>
parent f8f75a7e
Supports Markdown
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