diff --git a/crypto/dsa/dsagen.c b/crypto/dsa/dsagen.c index a0b097664086384f9d67736efde77aa1a53985e2..1b6a1cca0fec3763915414f5e9bba32c203db019 100644 --- a/crypto/dsa/dsagen.c +++ b/crypto/dsa/dsagen.c @@ -103,7 +103,7 @@ main() bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); memcpy(seed_buf,seed,20); - dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb); + dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err); if (dsa == NULL) DSA_print(bio_err,dsa,0); diff --git a/crypto/x509v3/v3conf.c b/crypto/x509v3/v3conf.c index 67ee14f3348490ca6aba5368bdc6eaf2b157525e..00cf5b4a5b2e6e9b150881769f14728934f605cc 100644 --- a/crypto/x509v3/v3conf.c +++ b/crypto/x509v3/v3conf.c @@ -118,7 +118,7 @@ int main(int argc, char **argv) printf("%s", OBJ_nid2ln(OBJ_obj2nid(ext->object))); if(ext->critical) printf(",critical:\n"); else printf(":\n"); - X509V3_EXT_print_fp(stdout, ext, 0); + X509V3_EXT_print_fp(stdout, ext, 0, 0); printf("\n"); }