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:
Aska.Wu <askawu@gmail.com>
parent
d8cc5bc4
Please register or sign in to comment