summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authormillert <>2022-04-13 16:20:11 +0000
committermillert <>2022-04-13 16:20:11 +0000
commit61604225d69faf376476dc94f932171f19816004 (patch)
tree2c0f5e59f4c57717fc528908330f7d6eba93e4b4 /src/lib/libssl/tls13_handshake.c
parent5b563b96d12e90451e74b05124a3532e31609cdf (diff)
downloadopenbsd-61604225d69faf376476dc94f932171f19816004.tar.gz
openbsd-61604225d69faf376476dc94f932171f19816004.tar.bz2
openbsd-61604225d69faf376476dc94f932171f19816004.zip
inet_net_pton_ipv6: avoid signed vs unsigned comparison
Use a temporary variable to store the number of bytes to be copied (size_t) and also use it as the memcpy(3) length. Previously we copied "size" bytes instead of just the necessary number. OK claudio@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_handshake.c')
0 files changed, 0 insertions, 0 deletions