Fix unitialized warnings

This commit is contained in:
Dr. Stephen Henson 2009-10-04 16:52:35 +00:00
parent 2280f82fc6
commit ad187f8905
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
int str_type;
int ret;
char free_out;
int outform, outlen;
int outform, outlen = 0;
ASN1_STRING *dest;
unsigned char *p;
int nchar;

View file

@ -534,7 +534,7 @@ int dtls1_get_record(SSL *s)
int i,n;
SSL3_RECORD *rr;
SSL_SESSION *sess;
unsigned char *p;
unsigned char *p = NULL;
unsigned short version;
DTLS1_BITMAP *bitmap;
unsigned int is_next_epoch;