mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
net.openssl: fix ./v -cstrict -cc gcc-11 vlib/net/openssl/openssl_compiles_test.v
This commit is contained in:
parent
6414b597bf
commit
aba38d167b
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ fn (mut s SSLConn) init() ! {
|
|||
}
|
||||
|
||||
preferred_ciphers := 'HIGH:!aNULL:!kRSA:!PSK:!SRP:!MD5:!RC4'
|
||||
res = C.SSL_set_cipher_list(voidptr(s.ssl), preferred_ciphers.str)
|
||||
res = C.SSL_set_cipher_list(voidptr(s.ssl), &char(preferred_ciphers.str))
|
||||
if s.config.validate && res != 1 {
|
||||
println('net.openssl: set cipher failed')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue