summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/d2i_r_pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/d2i_r_pr.c')
-rw-r--r--crypto/asn1/d2i_r_pr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/asn1/d2i_r_pr.c b/crypto/asn1/d2i_r_pr.c
index a276a1d4c5..3a4267bf97 100644
--- a/crypto/asn1/d2i_r_pr.c
+++ b/crypto/asn1/d2i_r_pr.c
@@ -75,15 +75,12 @@ static ASN1_METHOD method={
(char *(*)())RSA_new,
(void (*)()) RSA_free};
-ASN1_METHOD *RSAPrivateKey_asn1_meth()
+ASN1_METHOD *RSAPrivateKey_asn1_meth(void)
{
return(&method);
}
-RSA *d2i_RSAPrivateKey(a,pp,length)
-RSA **a;
-unsigned char **pp;
-long length;
+RSA *d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length)
{
int i=ASN1_R_PARSING;
ASN1_INTEGER *bs=NULL;