Update usage info
[openssl.git] / ssl / ssl_lib.c
index 3e52a8bce173236e09ba9e36c06ad3f490c91dcf..3109708480b9fcadb02196e503a474bd8407f923 100644 (file)
@@ -81,20 +81,6 @@ OPENSSL_GLOBAL SSL3_ENC_METHOD ssl3_undef_enc_method={
        (int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_function
        };
 
-#ifndef NO_RSA
-union rsa_fn_to_char_u
-       {
-       char *char_p;
-       RSA *(*fn_p)(SSL *, int, int);
-       };
-#endif
-
-union dh_fn_to_char_u
-       {
-       char *char_p;
-       DH *(*fn_p)(SSL *, int, int);
-       };
-
 int SSL_clear(SSL *s)
        {
        int state;
@@ -812,6 +798,11 @@ long SSL_callback_ctrl(SSL *s, int cmd, void (*fp)())
                }
        }
 
+struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx)
+       {
+       return ctx->sessions;
+       }
+
 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd,long larg,char *parg)
        {
        long l;