From 4621a000630afc0b9522576c6ffb0f3975ed16ff Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Fri, 25 Feb 2000 15:09:04 +0000 Subject: [PATCH] More VC++ pickiness. (destest.c doesn't have a "return" and the usual signed/unsigned stuff in s3_pkt.c) Submitted by: Reviewed by: PR: --- crypto/des/destest.c | 1 + ssl/s3_pkt.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crypto/des/destest.c b/crypto/des/destest.c index 46c517be13..98f373008f 100644 --- a/crypto/des/destest.c +++ b/crypto/des/destest.c @@ -796,6 +796,7 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]); } printf("\n"); exit(err); + return(err); /* Never reached, but keeps compilers happy */ } static char *pt(unsigned char *p) diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 579058e0f2..6d9dad9040 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -706,8 +706,8 @@ static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, */ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len) { - int al,i,j,ret; - unsigned int n; + int al,j,ret; + unsigned int i,n; SSL3_RECORD *rr; void (*cb)()=NULL; -- 2.34.1