diff -rc ../lib.old/Makefile ./Makefile
*** ../lib.old/Makefile	Tue Jun  6 20:11:16 1995
--- ./Makefile	Wed Jun  7 16:27:13 1995
***************
*** 1,6 ****
  #
  # Makefile for all the SSL related library routines and utilities
! VERSION	= 0.4.2
  #
  # make install will install:
  #   libraries into $INSTALLTOP/lib
--- 1,6 ----
  #
  # Makefile for all the SSL related library routines and utilities
! VERSION	= 0.4.2b
  #
  # make install will install:
  #   libraries into $INSTALLTOP/lib
Only in .: SSLeay-0.4.2b.tar.gz
diff -rc ../lib.old/VERSION ./VERSION
*** ../lib.old/VERSION	Wed Jun  7 09:45:21 1995
--- ./VERSION	Wed Jun  7 16:30:20 1995
***************
*** 1,3 ****
--- 1,11 ----
+ Version 0.4.2b 07/06/1995 eay
+ 	- Missed a htons() in ssl/net.h that needed to be removed :-(.
+ 	- As was pointed out by Paul Riethmuller <par@sequent.com>,
+ 	  my bn_mul() had 19 lines of code to deal with the 'carry'
+ 	  bits from r=a*b[i].  This was all unneeded.  I must have
+ 	  been working on the r=a+b stuff (where a is larger that b)
+ 	  just before :-).  This will not speed things up much, but it
+ 	  definitly make the code look nicer :-).
  Version 0.4.2 06/06/1995 eay
  	- Quickly hacked into ssl/ssl_client.c some code to report
  	  cipher that can be used.  Evil code accessing things that
diff -rc ../lib.old/idea/ideatest.c ./idea/ideatest.c
*** ../lib.old/idea/ideatest.c	Tue Jun  6 20:22:35 1995
--- ./idea/ideatest.c	Wed Jun  7 15:09:38 1995
***************
*** 83,87 ****
--- 83,88 ----
  	idea_encrypt(c,out,&key);
  */
  	exit(err);
+ 	return(err);
  	}
  
diff -rc ../lib.old/rsa/bn.c ./rsa/bn.c
*** ../lib.old/rsa/bn.c	Tue May 30 15:00:59 1995
--- ./rsa/bn.c	Wed Jun  7 15:00:15 1995
***************
*** 685,690 ****
--- 685,699 ----
  			if (l2 < l) c1++;
  			c2=(c1 < h)?1:0;
  			}
+ 		/* As was pointed out by Paul Riethmuller <par@sequent.com>
+ 		 * the following is not needed because I am 'working'
+ 		 * my way 'up' the words.  I suppose I just got
+ 		 * carried away when I wrote the code orignally, or was
+ 		 * it just because I was paranoid about covering all
+ 		 * posibilities :-) */
+ 		*rp = c1;
+ 
+ #ifdef undef
  		if (c1 | c2)
  			{
  			for (;;)
***************
*** 704,709 ****
--- 713,719 ----
  				if ((c1|c2) == 0) break;
  				}
  			}
+ #endif
  		}
  	bn_fix_top(r);
  	return(1);
diff -rc ../lib.old/rsa/eay1024.PEM.serial ./rsa/eay1024.PEM.serial
*** ../lib.old/rsa/eay1024.PEM.serial	Thu Jun  1 13:27:51 1995
--- ./rsa/eay1024.PEM.serial	Wed Jun  7 08:26:53 1995
***************
*** 1 ****
! - FD
--- 1 ----
! - 0100
Only in ./rsa: f
Only in ./rsa: f.2
Only in ./rsa: f.key
Only in ./rsa: f.test
Common subdirectories: ../lib.old/rsa/hash and ./rsa/hash
diff -rc ../lib.old/rsa/x509.c ./rsa/x509.c
*** ../lib.old/rsa/x509.c	Thu Jun  1 10:10:14 1995
--- ./rsa/x509.c	Wed Jun  7 08:25:56 1995
***************
*** 356,361 ****
--- 356,362 ----
  	fclose(io);
  	
  	if (!X509_add_cert(x)) return(0);
+ 	/* NOTE: this certificate can/should be self signed */
  	if (!X509_verify(x,callb)) return(0);
  
  	/* don't free this X509 struct or bad things will happen
***************
*** 387,392 ****
--- 388,396 ----
  X509 *xs,*xi;
  int depth,error;
  	{
+ 	/* it is ok to use a self signed certificate */
+ 	if ((!ok) && (error == VERIFY_ERR_DEPTH_ZERO_SELF_SIGNED_CERT))
+ 		return(ok);
  	if ((!ok) || (depth > 0))
  		{
  		printf("error with certificate - error %d at depth %d\n%s\n",
diff -rc ../lib.old/ssl/Makefile ./ssl/Makefile
*** ../lib.old/ssl/Makefile	Tue Jun  6 10:15:34 1995
--- ./ssl/Makefile	Wed Jun  7 16:44:34 1995
***************
*** 100,106 ****
  	else if test -s /usr/bin/ranlib; then \
  	    /usr/bin/ranlib $(INSTALLTOP)/lib/$(LIB); \
  	fi; fi; \
! 	chmod 644 $(INSTALLTOP)/lib/$(LIB) \
  	for i in $(EXE); \
  	do \
  	cp $$i ${INSTALLTOP}/bin; \
--- 100,106 ----
  	else if test -s /usr/bin/ranlib; then \
  	    /usr/bin/ranlib $(INSTALLTOP)/lib/$(LIB); \
  	fi; fi; \
! 	chmod 644 $(INSTALLTOP)/lib/$(LIB); \
  	for i in $(EXE); \
  	do \
  	cp $$i ${INSTALLTOP}/bin; \
Only in ./ssl: f
diff -rc ../lib.old/ssl/net.h ./ssl/net.h
*** ../lib.old/ssl/net.h	Tue May 30 14:43:07 1995
--- ./ssl/net.h	Wed Jun  7 16:08:05 1995
***************
*** 9,20 ****
  #include <netinet/in.h>
  
  /*#define SERVICE "https"
! #define PORT	htons(443) */
  
  /* need to be root to access 443 on the server, so we will put in some
   * other value.  */
  #define SERVICE "httpss"
! #define PORT	htons(4433)
  #define PROTO	"tcp"
  
  #ifdef AIX
--- 9,20 ----
  #include <netinet/in.h>
  
  /*#define SERVICE "https"
! #define PORT	443 */
  
  /* need to be root to access 443 on the server, so we will put in some
   * other value.  */
  #define SERVICE "httpss"
! #define PORT	4433
  #define PROTO	"tcp"
  
  #ifdef AIX
