OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions | Variables
s_server.c File Reference
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/e_os2.h>
#include <sys/types.h>
#include <openssl/lhash.h>
#include <openssl/bn.h>
#include "apps.h"
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
#include <openssl/rand.h>
#include <openssl/ocsp.h>
#include <openssl/dh.h>
#include <openssl/rsa.h>
#include <openssl/srp.h>
#include "s_apps.h"
#include "timeouts.h"

Go to the source code of this file.

Classes

struct  srpsrvparm_st
 
struct  tlsextctx_st
 
struct  tlsextstatusctx_st
 
struct  tlsextnextprotoctx_st
 

Macros

#define USE_SOCKETS
 
#define BUFSIZZ   16*1024
 
#define TEST_CERT   "server.pem"
 
#define TEST_CERT2   "server2.pem"
 
#define PROG   s_server_main
 
#define MAX_SESSION_ID_ATTEMPTS   10
 

Typedefs

typedef struct srpsrvparm_st srpsrvparm
 
typedef struct tlsextctx_st tlsextctx
 
typedef struct tlsextstatusctx_st tlsextstatusctx
 
typedef struct
tlsextnextprotoctx_st 
tlsextnextprotoctx
 

Functions

int MAIN (int, char **)
 
int MAIN (int argc, char *argv[])
 

Variables

int verify_depth
 
int verify_return_error
 
int s_crlf =0
 
char * psk_key =NULL
 
char * client_princ
 

Macro Definition Documentation

#define BUFSIZZ   16*1024

Definition at line 254 of file s_server.c.

#define MAX_SESSION_ID_ATTEMPTS   10

Definition at line 2967 of file s_server.c.

#define PROG   s_server_main

Definition at line 263 of file s_server.c.

#define TEST_CERT   "server.pem"

Definition at line 258 of file s_server.c.

#define TEST_CERT2   "server2.pem"

Definition at line 260 of file s_server.c.

#define USE_SOCKETS

Definition at line 175 of file s_server.c.

Typedef Documentation

typedef struct srpsrvparm_st srpsrvparm
typedef struct tlsextctx_st tlsextctx

Function Documentation

int MAIN ( int  ,
char **   
)

Definition at line 87 of file asn1pars.c.

int MAIN ( int  argc,
char *  argv[] 
)

Definition at line 928 of file s_server.c.

Variable Documentation

char* client_princ

Definition at line 2515 of file s_server.c.

char* psk_key =NULL

Definition at line 314 of file s_server.c.

int s_crlf =0

Definition at line 279 of file s_server.c.

int verify_depth

Definition at line 127 of file s_cb.c.

int verify_return_error

Definition at line 129 of file s_cb.c.