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 46c517b..98f3730 100644 (file)
@@ -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)
index 579058e..6d9dad9 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 al,i,j,ret;
-       unsigned int n;
+       int al,j,ret;
+       unsigned int i,n;
        SSL3_RECORD *rr;
        void (*cb)()=NULL;