From: Geoff Thorpe Date: Fri, 25 Feb 2000 15:09:04 +0000 (+0000) Subject: More VC++ pickiness. (destest.c doesn't have a "return" and the usual X-Git-Tag: OpenSSL_0_9_5beta2~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4621a000630afc0b9522576c6ffb0f3975ed16ff;p=oweals%2Fopenssl.git 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: --- 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;