More VC++ pickiness. (destest.c doesn't have a "return" and the usual
authorGeoff Thorpe <geoff@openssl.org>
Fri, 25 Feb 2000 15:09:04 +0000 (15:09 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 25 Feb 2000 15:09:04 +0000 (15:09 +0000)
signed/unsigned stuff in s3_pkt.c)

Submitted by:
Reviewed by:
PR:

crypto/des/destest.c
ssl/s3_pkt.c

index 46c517be135c78df80c3a1f71094311d27d17532..98f373008f5eb1795d4d460ca0bdcf70eb1f4420 100644 (file)
@@ -796,6 +796,7 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]);
                }
        printf("\n");
        exit(err);
                }
        printf("\n");
        exit(err);
+       return(err); /* Never reached, but keeps compilers happy */
        }
 
 static char *pt(unsigned char *p)
        }
 
 static char *pt(unsigned char *p)
index 579058e0f22ec9862d79f75d422c863d93a80f07..6d9dad9040208606ef1ea298641828cb373d3171 100644 (file)
@@ -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 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;
 
        SSL3_RECORD *rr;
        void (*cb)()=NULL;