Commit 6651ac38 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix from head.

parent 0be0592e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -873,10 +873,12 @@ int alg_print (BIO *x, X509_ALGOR *alg)
	unsigned char *p;
	p = alg->parameter->value.sequence->data;
	pbe = d2i_PBEPARAM (NULL, &p, alg->parameter->value.sequence->length);
	if (!pbe)
		return 1;
	BIO_printf (bio_err, "%s, Iteration %d\n", 
	OBJ_nid2ln(OBJ_obj2nid(alg->algorithm)), ASN1_INTEGER_get(pbe->iter));
	PBEPARAM_free (pbe);
	return 0;
	return 1;
}

/* Load all certificates from a given file */