summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-21 22:57:16 +0200
committerBodo Möller <bodo@openssl.org>1999-07-21 22:57:16 +0200
commit74678cc2f8132ad34f7c33731c4765cf3083de8c (patch)
treeda0cd26e2c32fc9b0bf540be33964282b4a5ed9d /apps/rsa.c
parentavoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines, (diff)
downloadopenssl-74678cc2f8132ad34f7c33731c4765cf3083de8c.tar.xz
openssl-74678cc2f8132ad34f7c33731c4765cf3083de8c.zip
Additional user data argument to pem_password_cb function type
and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 07c14e2edd..9b723ee406 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -222,7 +222,7 @@ bad:
}
#endif
else if (informat == FORMAT_PEM)
- rsa=PEM_read_bio_RSAPrivateKey(in,NULL,NULL);
+ rsa=PEM_read_bio_RSAPrivateKey(in,NULL,NULL,NULL);
else
{
BIO_printf(bio_err,"bad input format specified for key\n");
@@ -312,7 +312,7 @@ bad:
}
#endif
else if (outformat == FORMAT_PEM)
- i=PEM_write_bio_RSAPrivateKey(out,rsa,enc,NULL,0,NULL);
+ i=PEM_write_bio_RSAPrivateKey(out,rsa,enc,NULL,0,NULL,NULL);
else {
BIO_printf(bio_err,"bad output format specified for outfile\n");
goto end;