X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fssl_lib.c;h=6f70bdfff25577a76663278983e6319b211c40cb;hp=7fb4bdf1598b1b8159f432c7fcf6ce7bde391513;hb=08557cf22cd7c337d7430c32fb21ed29a77a8131;hpb=c4d162873f832cae400b8fee81fc826cb06d55a8 diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 7fb4bdf159..6f70bdfff2 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -2934,6 +2934,11 @@ int SSL_state(const SSL *ssl) return(ssl->state); } +void SSL_set_state(SSL *ssl, int state) + { + ssl->state = state; + } + void SSL_set_verify_result(SSL *ssl,long arg) { ssl->verify_result=arg; @@ -3205,6 +3210,16 @@ void ssl_clear_hash_ctx(EVP_MD_CTX **hash) *hash=NULL; } +void SSL_set_debug(SSL *s, int debug) + { + s->debug = debug; + } + +int SSL_cache_hit(SSL *s) + { + return s->hit; + } + #if defined(_WINDLL) && defined(OPENSSL_SYS_WIN16) #include "../crypto/bio/bss_file.c" #endif