X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/3b2676435dc4af39acd77e7fe232902e6651e42d..605347124bd39d347058bc3bd5356c184f654b1d:/openssl/openssl_sml.h diff --git a/openssl/openssl_sml.h b/openssl/openssl_sml.h index 3eced90..d921bee 100644 --- a/openssl/openssl_sml.h +++ b/openssl/openssl_sml.h @@ -17,9 +17,10 @@ int OpenSSL_SML_write(BIO *b, const void *data, int len); BIO *OpenSSL_SML_new_connect(char *addr); int OpenSSL_SML_do_connect(BIO *b); -BIO *OpenSSL_SML_new_accept(char *addr); int OpenSSL_SML_do_accept(BIO *b); +int OpenSSL_SML_do_handshake(BIO *b); + void OpenSSL_SML_free_all(BIO *b); SSL_METHOD *OpenSSL_SML_SSLv23_method(void); @@ -51,3 +52,8 @@ int OpenSSL_SML_SSL_accept(SSL *ssl); int OpenSSL_SML_use_certificate_chain_file(SSL_CTX *ctx, char *keyfile); const char *OpenSSL_SML_get_peer_name(SSL *ssl); + +BIO *OpenSSL_SML_new_ssl(SSL_CTX *ctx); +BIO *OpenSSL_SML_new_accept(SSL_CTX *ctx, char *port); + +BIO *OpenSSL_SML_pop(BIO *b);