+6
−1
Loading
PSKs are going to be passed around as binary data starting with "nvme_tcp: generate retained PSK". That means we cannot rely on strlen() function to get the length of that data field inside posix_sock_tls_psk_server_cb() and posix_sock_tls_psk_client_cb() methods. Change-Id: Ic0bbabf0e3342136f80b85a7d5d47aac69ab43d1 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16740 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>