]> git.ipfire.org Git - thirdparty/curl.git/commit
gskit_connect_step1: fixed bogus setsockopt calls
authorHarry Sintonen <sintonen@iki.fi>
Wed, 4 May 2022 21:33:17 +0000 (23:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 May 2022 21:33:17 +0000 (23:33 +0200)
commit1a78051732e35ed3c7a0707d3cdbf13857f43553
tree5a0bdcafa8ed64d645f63906dad5a8da44595bb8
parentdd4f2622bcc3b6e4b1e65fda5fcf1cc4422e36ec
gskit_connect_step1: fixed bogus setsockopt calls

setsockopt takes a reference to value, not value. With the current
code this just leads to -1 return value with errno EFAULT.

Closes #8793
lib/vtls/gskit.c