mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
orm: cross compile pg to linux; openssl: make cross compile work
This commit is contained in:
parent
986ed33deb
commit
27ff2f1628
5 changed files with 27 additions and 6 deletions
|
@ -1,5 +1,7 @@
|
|||
module openssl
|
||||
|
||||
#define OPENSSL_API_COMPAT 0x30000000L
|
||||
|
||||
// On Linux, prefer a locally built openssl, because it is
|
||||
// much more likely for it to be newer, than the system
|
||||
// openssl from libssl-dev. If there is no local openssl,
|
||||
|
@ -116,6 +118,8 @@ fn C.SSL_set_cipher_list(ctx &SSL, str &char) int
|
|||
|
||||
fn C.SSL_get_peer_certificate(ssl &SSL) &C.X509
|
||||
|
||||
// fn C.SSL_get1_peer_certificate(ssl &SSL) &C.X509
|
||||
|
||||
fn C.X509_free(const_cert &C.X509)
|
||||
|
||||
fn C.ERR_clear_error()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue