/* Some initial ideas.... */
typedef struct ssl3_session_st
	{
	unsigned int session_id_length;
        unsigned char *session_id;
	X509 *peer;
	CIPHER3 *cipher;
	COMPRESSION *compression;
	unsigned char master_secret[48];
	int is_resumable;
	} SSL3_SESSION;

typedef struct ssl3_con_ctx_st
	{
	int random_length;
	unsigned char *random;

	int mac_sec_length;
	unsigned char *mac_sec;

	int key_length;
	unsigned char *key;
	} SSL3_CON_CTX;

typedef struct ssl3_st
	{
	SSL3_CON_CTX client;
	SSL3_CON_CTX server;
	char *iv;

	unsigned long read_sequence;
        unsigned long write_sequence;

	} SSL3;
