Skip to content

Commit fda84d2

Browse files
committed
deimos.openssl.ssl: Add SSL_*_host functions
1 parent b09b8a4 commit fda84d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deimos/openssl/ssl.d

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,11 @@ int SSL_set_purpose(SSL* s, int purpose);
19531953
int SSL_CTX_set_trust(SSL_CTX* s, int trust);
19541954
int SSL_set_trust(SSL* s, int trust);
19551955

1956+
int SSL_set1_host(SSL* s, const(char)* hostname);
1957+
int SSL_add1_host(SSL* s, const(char)* hostname);
1958+
const(char)* SSL_get0_peername(SSL* s);
1959+
void SSL_set_hostflags(SSL* s, uint flags);
1960+
19561961
int SSL_CTX_set1_param(SSL_CTX* ctx, X509_VERIFY_PARAM* vpm);
19571962
int SSL_set1_param(SSL* ssl, X509_VERIFY_PARAM* vpm);
19581963

0 commit comments

Comments
 (0)