From: Richard Levitte Date: Sat, 27 Sep 2003 18:31:43 +0000 (+0000) Subject: Remove extra argument to BIO_printf(). X-Git-Tag: OpenSSL_0_9_6k~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a5bb5c9688280cac34cba53fbc2adc927d2b7e3d;p=oweals%2Fopenssl.git Remove extra argument to BIO_printf(). PR: 685 --- diff --git a/apps/pkcs8.c b/apps/pkcs8.c index 926af8675f..e75d243433 100644 --- a/apps/pkcs8.c +++ b/apps/pkcs8.c @@ -219,7 +219,7 @@ int MAIN(int argc, char **argv) } BIO_free(in); if (!(p8inf = EVP_PKEY2PKCS8_broken(pkey, p8_broken))) { - BIO_printf(bio_err, "Error converting key\n", outfile); + BIO_printf(bio_err, "Error converting key\n"); ERR_print_errors(bio_err); return (1); } @@ -243,8 +243,7 @@ int MAIN(int argc, char **argv) if (!(p8 = PKCS8_encrypt(pbe_nid, cipher, p8pass, strlen(p8pass), NULL, 0, iter, p8inf))) { - BIO_printf(bio_err, "Error encrypting key\n", - outfile); + BIO_printf(bio_err, "Error encrypting key\n"); ERR_print_errors(bio_err); return (1); } @@ -287,7 +286,7 @@ int MAIN(int argc, char **argv) } if (!p8) { - BIO_printf (bio_err, "Error reading key\n", outfile); + BIO_printf (bio_err, "Error reading key\n"); ERR_print_errors(bio_err); return (1); } @@ -301,13 +300,13 @@ int MAIN(int argc, char **argv) } if (!p8inf) { - BIO_printf(bio_err, "Error decrypting key\n", outfile); + BIO_printf(bio_err, "Error decrypting key\n"); ERR_print_errors(bio_err); return (1); } if (!(pkey = EVP_PKCS82PKEY(p8inf))) { - BIO_printf(bio_err, "Error converting key\n", outfile); + BIO_printf(bio_err, "Error converting key\n"); ERR_print_errors(bio_err); return (1); }