Adjust the parameter lists in some not commonly used files.
authorRichard Levitte <levitte@openssl.org>
Wed, 1 Jan 2003 23:41:46 +0000 (23:41 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 1 Jan 2003 23:41:46 +0000 (23:41 +0000)
PR: 428

crypto/dsa/dsagen.c
crypto/x509v3/v3conf.c

index a0b0976..1b6a1cc 100644 (file)
@@ -103,7 +103,7 @@ main()
                bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
 
        memcpy(seed_buf,seed,20);
                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);
 
        if (dsa == NULL)
                DSA_print(bio_err,dsa,0);
index 67ee14f..00cf5b4 100644 (file)
@@ -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");
                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");
                
        }
                printf("\n");
                
        }