Commit 7fff6639 authored by Richard Levitte's avatar Richard Levitte
Browse files

Recent changes from 0.9.6-stable.

parent 3df44c05
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -58,6 +58,12 @@

 Changes between 0.9.6d and 0.9.6e  [30 Jul 2002]

  *) Add various sanity checks to asn1_get_length() to reject
     the ASN1 length bytes if they exceed sizeof(long), will appear
     negative or the content length exceeds the length of the
     supplied buffer.
     [Steve Henson, Adi Stav <stav@mercury.co.il>, James Yonan <jim@ntlp.com>]

  *) Fix cipher selection routines: ciphers without encryption had no flags
     for the cipher strength set and where therefore not handled correctly
     by the selection routines (PR #130).
@@ -89,7 +95,7 @@
  *) Add various sanity checks to asn1_get_length() to reject
     the ASN1 length bytes if they exceed sizeof(long), will appear
     negative or the content length exceeds the length of the
     supplied buffer.
     supplied buffer. (CAN-2002-0659)
     [Steve Henson, Adi Stav <stav@mercury.co.il>, James Yonan <jim@ntlp.com>]

  *) Assertions for various potential buffer overflows, not known to
@@ -194,8 +200,8 @@
     value is 0.
     [Richard Levitte]

  *) [In 0.9.6c-engine release:]
     Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
  *) [In 0.9.6d-engine release:]
     Fix a crashbug and a logic bug in hwcrhk_load_pubkey().
     [Toomas Kiisk <vix@cyber.ee> via Richard Levitte]

  *) Add the configuration target linux-s390x.
+2 −1
Original line number Diff line number Diff line
@@ -266,7 +266,8 @@ int MAIN(int argc, char **argv)
			if(passout) p8pass = passout;
			else {
				p8pass = pass;
				EVP_read_pw_string(pass, 50, "Enter Encryption Password:", 1);
				if (EVP_read_pw_string(pass, 50, "Enter Encryption Password:", 1))
					return (1);
			}
			app_RAND_load_file(NULL, bio_err, 0);
			if (!(p8 = PKCS8_encrypt(pbe_nid, cipher,
+4 −1
Original line number Diff line number Diff line
@@ -123,6 +123,9 @@ int BN_add_word(BIGNUM *a, BN_ULONG w)
	i=0;
	for (;;)
		{
		if (i >= a->top)
			l=w;
		else
			l=(a->d[i]+(BN_ULONG)w)&BN_MASK2;
		a->d[i]=l;
		if (w > l)
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ int days;
		}
	rsa=NULL;

	X509_set_version(x,3);
	X509_set_version(x,2);
	ASN1_INTEGER_set(X509_get_serialNumber(x),serial);
	X509_gmtime_adj(X509_get_notBefore(x),0);
	X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
+4 −6
Original line number Diff line number Diff line
@@ -13,12 +13,10 @@
;
; Apparently statement blocks that are not introduced by a statement
; such as "if" and that are not the body of a function cannot
; be handled too well by CC mode with this indentation style.
; The style defined below does not indent them at all.
; To insert tabs manually, prefix them with ^Q (the "quoted-insert"
; command of Emacs).  If you know a solution to this problem
; or find other problems with this indentation style definition,
; please send e-mail to bodo@openssl.org.
; be handled too well by CC mode with this indentation style,
; so you have to indent them manually (you can use C-q tab).
; 
; For suggesting improvements, please send e-mail to bodo@openssl.org.

(c-add-style "eay"
	     '((c-basic-offset . 8)
Loading