OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
s2_lib.c File Reference
#include "ssl_locl.h"
#include <stdio.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/md5.h>

Go to the source code of this file.

Macros

#define SSL2_NUM_CIPHERS   (sizeof(ssl2_ciphers)/sizeof(SSL_CIPHER))
 

Functions

long ssl2_default_timeout (void)
 
int ssl2_num_ciphers (void)
 
const SSL_CIPHERssl2_get_cipher (unsigned int u)
 
int ssl2_pending (const SSL *s)
 
int ssl2_new (SSL *s)
 
void ssl2_free (SSL *s)
 
void ssl2_clear (SSL *s)
 
long ssl2_ctrl (SSL *s, int cmd, long larg, void *parg)
 
long ssl2_callback_ctrl (SSL *s, int cmd, void(*fp)(void))
 
long ssl2_ctx_ctrl (SSL_CTX *ctx, int cmd, long larg, void *parg)
 
long ssl2_ctx_callback_ctrl (SSL_CTX *ctx, int cmd, void(*fp)(void))
 
const SSL_CIPHERssl2_get_cipher_by_char (const unsigned char *p)
 
int ssl2_put_cipher_by_char (const SSL_CIPHER *c, unsigned char *p)
 
int ssl2_generate_key_material (SSL *s)
 
void ssl2_return_error (SSL *s, int err)
 
void ssl2_write_error (SSL *s)
 
int ssl2_shutdown (SSL *s)
 

Variables

const char ssl2_version_str [] ="SSLv2" OPENSSL_VERSION_PTEXT
 
OPENSSL_GLOBAL const SSL_CIPHER ssl2_ciphers []
 

Macro Definition Documentation

#define SSL2_NUM_CIPHERS   (sizeof(ssl2_ciphers)/sizeof(SSL_CIPHER))

Definition at line 121 of file s2_lib.c.

Function Documentation

long ssl2_callback_ctrl ( SSL s,
int  cmd,
void(*)(void fp 
)

Definition at line 400 of file s2_lib.c.

void ssl2_clear ( SSL s)

Definition at line 365 of file s2_lib.c.

long ssl2_ctrl ( SSL s,
int  cmd,
long  larg,
void parg 
)

Definition at line 385 of file s2_lib.c.

long ssl2_ctx_callback_ctrl ( SSL_CTX ctx,
int  cmd,
void(*)(void fp 
)

Definition at line 410 of file s2_lib.c.

long ssl2_ctx_ctrl ( SSL_CTX ctx,
int  cmd,
long  larg,
void parg 
)

Definition at line 405 of file s2_lib.c.

long ssl2_default_timeout ( void  )

Definition at line 296 of file s2_lib.c.

void ssl2_free ( SSL s)

Definition at line 350 of file s2_lib.c.

int ssl2_generate_key_material ( SSL s)

Definition at line 448 of file s2_lib.c.

const SSL_CIPHER* ssl2_get_cipher ( unsigned int  u)

Definition at line 306 of file s2_lib.c.

const SSL_CIPHER* ssl2_get_cipher_by_char ( const unsigned char *  p)

Definition at line 417 of file s2_lib.c.

int ssl2_new ( SSL s)

Definition at line 319 of file s2_lib.c.

int ssl2_num_ciphers ( void  )

Definition at line 301 of file s2_lib.c.

int ssl2_pending ( const SSL s)

Definition at line 314 of file s2_lib.c.

int ssl2_put_cipher_by_char ( const SSL_CIPHER c,
unsigned char *  p 
)

Definition at line 433 of file s2_lib.c.

void ssl2_return_error ( SSL s,
int  err 
)

Definition at line 503 of file s2_lib.c.

int ssl2_shutdown ( SSL s)

Definition at line 545 of file s2_lib.c.

void ssl2_write_error ( SSL s)

Definition at line 515 of file s2_lib.c.

Variable Documentation

OPENSSL_GLOBAL const SSL_CIPHER ssl2_ciphers[]

Definition at line 124 of file s2_lib.c.

const char ssl2_version_str[] ="SSLv2" OPENSSL_VERSION_PTEXT

Definition at line 119 of file s2_lib.c.