X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/3b2676435dc4af39acd77e7fe232902e6651e42d..2c4e2cf316247e988b50b148a40d7c2ac7dc482d:/openssl/openssl_sml.h diff --git a/openssl/openssl_sml.h b/openssl/openssl_sml.h index 3eced90..3d5cd46 100644 --- a/openssl/openssl_sml.h +++ b/openssl/openssl_sml.h @@ -7,6 +7,7 @@ void OpenSSL_SML_load_error_strings(void); void OpenSSL_SML_load_BIO_strings(void); int OpenSSL_SML_get_error(void); +int OpenSSL_SML_should_retry(BIO *b); const char *OpenSSL_SML_lib_error_string(int err); const char *OpenSSL_SML_func_error_string(int err); const char *OpenSSL_SML_reason_error_string(int err); @@ -17,9 +18,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 +53,11 @@ 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); +BIO *OpenSSL_SML_next(BIO *b); + +int OpenSSL_SML_puts(BIO *b, const char *buf);