More prototypes.
This commit is contained in:
parent
cd3916c40f
commit
207ccf628d
@ -320,7 +320,7 @@ char *parg;
|
|||||||
/* This function needs to check if the ciphers required are actually
|
/* This function needs to check if the ciphers required are actually
|
||||||
* available */
|
* available */
|
||||||
SSL_CIPHER *ssl2_get_cipher_by_char(p)
|
SSL_CIPHER *ssl2_get_cipher_by_char(p)
|
||||||
unsigned char *p;
|
const unsigned char *p;
|
||||||
{
|
{
|
||||||
static int init=1;
|
static int init=1;
|
||||||
static SSL_CIPHER *sorted[SSL2_NUM_CIPHERS];
|
static SSL_CIPHER *sorted[SSL2_NUM_CIPHERS];
|
||||||
@ -354,7 +354,7 @@ unsigned char *p;
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ssl2_put_cipher_by_char(c,p)
|
int ssl2_put_cipher_by_char(c,p)
|
||||||
SSL_CIPHER *c;
|
const SSL_CIPHER *c;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
{
|
{
|
||||||
long l;
|
long l;
|
||||||
|
10
ssl/s2_pkt.c
10
ssl/s2_pkt.c
@ -70,8 +70,8 @@
|
|||||||
|
|
||||||
#ifndef NOPROTO
|
#ifndef NOPROTO
|
||||||
static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend);
|
static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend);
|
||||||
static int do_ssl_write(SSL *s, char *buf, unsigned int len);
|
static int do_ssl_write(SSL *s, const char *buf, unsigned int len);
|
||||||
static int write_pending(SSL *s, char *buf, unsigned int len);
|
static int write_pending(SSL *s, const char *buf, unsigned int len);
|
||||||
static int ssl_mt_error(int n);
|
static int ssl_mt_error(int n);
|
||||||
#else
|
#else
|
||||||
static int read_n();
|
static int read_n();
|
||||||
@ -356,7 +356,7 @@ unsigned int extend;
|
|||||||
|
|
||||||
int ssl2_write(s, buf, len)
|
int ssl2_write(s, buf, len)
|
||||||
SSL *s;
|
SSL *s;
|
||||||
char *buf;
|
const char *buf;
|
||||||
int len;
|
int len;
|
||||||
{
|
{
|
||||||
unsigned int n,tot;
|
unsigned int n,tot;
|
||||||
@ -405,7 +405,7 @@ int len;
|
|||||||
|
|
||||||
static int write_pending(s,buf,len)
|
static int write_pending(s,buf,len)
|
||||||
SSL *s;
|
SSL *s;
|
||||||
char *buf;
|
const char *buf;
|
||||||
unsigned int len;
|
unsigned int len;
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -453,7 +453,7 @@ unsigned int len;
|
|||||||
|
|
||||||
static int do_ssl_write(s, buf, len)
|
static int do_ssl_write(s, buf, len)
|
||||||
SSL *s;
|
SSL *s;
|
||||||
char *buf;
|
const char *buf;
|
||||||
unsigned int len;
|
unsigned int len;
|
||||||
{
|
{
|
||||||
unsigned int j,k,olen,p,mac_size,bs;
|
unsigned int j,k,olen,p,mac_size,bs;
|
||||||
|
@ -641,7 +641,7 @@ char *parg;
|
|||||||
/* This function needs to check if the ciphers required are actually
|
/* This function needs to check if the ciphers required are actually
|
||||||
* available */
|
* available */
|
||||||
SSL_CIPHER *ssl3_get_cipher_by_char(p)
|
SSL_CIPHER *ssl3_get_cipher_by_char(p)
|
||||||
unsigned char *p;
|
const unsigned char *p;
|
||||||
{
|
{
|
||||||
static int init=1;
|
static int init=1;
|
||||||
static SSL_CIPHER *sorted[SSL3_NUM_CIPHERS];
|
static SSL_CIPHER *sorted[SSL3_NUM_CIPHERS];
|
||||||
@ -674,7 +674,7 @@ unsigned char *p;
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ssl3_put_cipher_by_char(c,p)
|
int ssl3_put_cipher_by_char(c,p)
|
||||||
SSL_CIPHER *c;
|
const SSL_CIPHER *c;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
{
|
{
|
||||||
long l;
|
long l;
|
||||||
@ -840,7 +840,7 @@ SSL *s;
|
|||||||
|
|
||||||
int ssl3_write(s,buf,len)
|
int ssl3_write(s,buf,len)
|
||||||
SSL *s;
|
SSL *s;
|
||||||
char *buf;
|
const char *buf;
|
||||||
int len;
|
int len;
|
||||||
{
|
{
|
||||||
int ret,n;
|
int ret,n;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user