/home/dko/Projects/mobilec/src/security/xyssl-0.9/programs/ssl/ssl_server.c File Reference

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "xyssl/havege.h"
#include "xyssl/certs.h"
#include "xyssl/x509.h"
#include "xyssl/ssl.h"
#include "xyssl/net.h"

Go to the source code of this file.

Defines

#define HTTP_RESPONSE
#define DEBUG_LEVEL   0

Functions

void my_debug (void *ctx, int level, char *str)
static int my_get_session (ssl_context *ssl)
static int my_set_session (ssl_context *ssl)
int main (void)

Variables

char * my_dhm_P
char * my_dhm_G = "4"
int my_ciphers []
ssl_sessions_list_1st = NULL
ssl_sessioncur
ssl_sessionprv

Define Documentation

#define DEBUG_LEVEL   0

Definition at line 75 of file ssl_server.c.

#define HTTP_RESPONSE
Value:
"HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n" \
    "<h2><p><center>Successful connection using: %s\r\n"

Definition at line 39 of file ssl_server.c.

Referenced by http_ParseRequest(), main(), and mtp_http_Parse().


Function Documentation

int main ( void   ) 
void my_debug ( void *  ctx,
int  level,
char *  str 
)

Definition at line 77 of file ssl_server.c.

References DEBUG_LEVEL.

static int my_get_session ( ssl_context ssl  )  [static]
static int my_set_session ( ssl_context ssl  )  [static]

Variable Documentation

Definition at line 91 of file ssl_server.c.

Referenced by http_GetToken(), http_ParseRequest(), and x509parse_verify().

char* my_dhm_G = "4"

Definition at line 58 of file ssl_server.c.

Referenced by main().

char* my_dhm_P
Initial value:
 
    "E4004C1F94182000103D883A448B3F80" 
    "2CE4B44A83301270002C20D0321CFD00" 
    "11CCEF784C26A400F43DFB901BCA7538" 
    "F2C6B176001CF5A0FD16D2C48B1D0C1C" 
    "F6AC8E1DA6BCC3B4E1F96B0564965300" 
    "FFA1D0B601EB2800F489AA512C4B248C" 
    "01F76949A60BB7F00A40B1EAB64BDD48" 
    "E8A700D60B7F1200FA8E77B0A979DABF"

Definition at line 48 of file ssl_server.c.

Referenced by main().

Definition at line 91 of file ssl_server.c.

Referenced by aes_self_test(), and des_self_test().

Definition at line 90 of file ssl_server.c.

Generated on Tue Dec 28 15:15:29 2010 for Mobile-C by  doxygen 1.6.3