Commit d40d7772 authored by Aska.Wu's avatar Aska.Wu Committed by Roger A. Light
Browse files

Fix the TLS handshake problem if PSK has leading zero



Incorrect psk will be provided by psk_server_callback() because leading zero
is skipped by BN_bn2bin() and BN_num_bytes().

Signed-off-by: default avatarAska.Wu <askawu@gmail.com>
parent d8cc5bc4
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