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

Go to the source code of this file.

Classes

struct  tlsextctx_st
 
struct  srp_arg_st
 
struct  tlsextnextprotoctx_st
 

Macros

#define USE_SOCKETS
 
#define PROG   s_client_main
 
#define SSL_HOST_NAME   "localhost"
 
#define BUFSIZZ   1024*8
 
#define SRP_NUMBER_ITERATIONS_FOR_PRIME   64
 
#define PWD_STRLEN   1024
 

Typedefs

typedef struct tlsextctx_st tlsextctx
 
typedef struct srp_arg_st SRP_ARG
 
typedef struct
tlsextnextprotoctx_st 
tlsextnextprotoctx
 

Enumerations

enum  {
  PROTO_OFF = 0, PROTO_SMTP, PROTO_POP3, PROTO_IMAP,
  PROTO_FTP, PROTO_XMPP
}
 

Functions

int MAIN (int, char **)
 

Variables

int verify_depth
 
int verify_error
 
int verify_return_error
 
char * srtp_profiles = NULL
 

Macro Definition Documentation

#define BUFSIZZ   1024*8

Definition at line 191 of file s_client.c.

#define PROG   s_client_main

Definition at line 182 of file s_client.c.

#define PWD_STRLEN   1024

Definition at line 482 of file s_client.c.

#define SRP_NUMBER_ITERATIONS_FOR_PRIME   64

Definition at line 404 of file s_client.c.

#define SSL_HOST_NAME   "localhost"

Definition at line 186 of file s_client.c.

#define USE_SOCKETS

Definition at line 157 of file s_client.c.

Typedef Documentation

typedef struct srp_arg_st SRP_ARG
typedef struct tlsextctx_st tlsextctx

Enumeration Type Documentation

anonymous enum
Enumerator:
PROTO_OFF 
PROTO_SMTP 
PROTO_POP3 
PROTO_IMAP 
PROTO_FTP 
PROTO_XMPP 

Definition at line 542 of file s_client.c.

Function Documentation

int MAIN ( int  argc,
char **  argv 
)

Definition at line 87 of file asn1pars.c.

Variable Documentation

char* srtp_profiles = NULL

Definition at line 505 of file s_client.c.

int verify_depth

Definition at line 127 of file s_cb.c.

int verify_error

Definition at line 128 of file s_cb.c.

int verify_return_error

Definition at line 129 of file s_cb.c.