View | Details | Raw Unified | Return to bug 46906
Collapse All | Expand All

(-)openssl-engine-0.9.6j.orig/crypto/asn1/asn1_lib.c (+2 lines)
Lines 104-113 Link Here
104
			l<<=7L;
104
			l<<=7L;
105
			l|= *(p++)&0x7f;
105
			l|= *(p++)&0x7f;
106
			if (--max == 0) goto err;
106
			if (--max == 0) goto err;
107
			if (l > (INT_MAX >> 7L)) goto err;
107
			}
108
			}
108
		l<<=7L;
109
		l<<=7L;
109
		l|= *(p++)&0x7f;
110
		l|= *(p++)&0x7f;
110
		tag=(int)l;
111
		tag=(int)l;
112
		if (--max == 0) goto err;
111
		}
113
		}
112
	else
114
	else
113
		{ 
115
		{ 
(-)openssl-engine-0.9.6j.orig/crypto/x509/x509_vfy.c (-1 / +1 lines)
Lines 490-496 Link Here
490
				ok=(*cb)(0,ctx);
490
				ok=(*cb)(0,ctx);
491
				if (!ok) goto end;
491
				if (!ok) goto end;
492
				}
492
				}
493
			if (X509_verify(xs,pkey) <= 0)
493
			else if (X509_verify(xs,pkey) <= 0)
494
				{
494
				{
495
				ctx->error=X509_V_ERR_CERT_SIGNATURE_FAILURE;
495
				ctx->error=X509_V_ERR_CERT_SIGNATURE_FAILURE;
496
				ctx->current_cert=xs;
496
				ctx->current_cert=xs;

Return to bug 46906