mirror of
https://github.com/vlang/v.git
synced 2025-09-13 17:36:52 -04:00
openssl: more verbose error; libgc: make compile on arm macs
This commit is contained in:
parent
e2848e1348
commit
0d52a7d91e
2
thirdparty/libgc/gc.c
vendored
2
thirdparty/libgc/gc.c
vendored
@ -7241,7 +7241,7 @@ GC_EXTERN GC_bool GC_print_back_height;
|
||||
# define GC_auto_incremental (GC_incremental && !GC_manual_vdb)
|
||||
GC_INNER void GC_dirty_inner(const void *p); /* does not require locking */
|
||||
# define GC_dirty(p) (GC_manual_vdb ? GC_dirty_inner(p) : (void)0)
|
||||
# define REACHABLE_AFTER_DIRTY(p) GC_reachable_here(p)
|
||||
# define REACHABLE_AFTER_DIRTY(p) GC_noop1(p) //GC_reachable_here(p)
|
||||
#endif /* !NO_MANUAL_VDB */
|
||||
|
||||
#ifdef GC_DISABLE_INCREMENTAL
|
||||
|
@ -242,7 +242,7 @@ fn (mut s SSLConn) complete_connect() ! {
|
||||
}
|
||||
res := C.SSL_get_verify_result(voidptr(s.ssl))
|
||||
if res != C.X509_V_OK {
|
||||
return error('SSL handshake failed')
|
||||
return error('SSL handshake failed (OpenSSL SSL_get_verify_result = ${res})')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user