v2 / vlib / net / openssl / openssl_openbsd.c.v
5 lines · 4 sloc · 185 bytes · a8aeae21117d986fb3f8094ff44fed5f3cc2a8e6
Raw
1module openssl
2
3// SSL_get_peer1_certificate not defined in LibreSSL (OpenSSL fork) on OpenBSD,
4// use SSL_get_peer_certificate instead.
5fn C.SSL_get_peer_certificate(ssl &SSL) &C.X509
6