Bugzilla – Attachment #14720: patch for < 0.9.6f for bug #46906
*/
#include <stdio.h>
#include <limits.h>
#include "cryptlib.h"
#include <openssl/asn1.h>
#include <openssl/asn1_mac.h>
l<<=7L;
l|= *(p++)&0x7f;
if (--max == 0) goto err;
if (l > (INT_MAX >> 7L)) goto err;
}
tag=(int)l;
else
{
ok=(*cb)(0,ctx);
if (!ok) goto end;
if (X509_verify(xs,pkey) <= 0)
else if (X509_verify(xs,pkey) <= 0)
ctx->error=X509_V_ERR_CERT_SIGNATURE_FAILURE;
ctx->current_cert=xs;