]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/d2i_r_pr.c
Change functions to ANSI C.
[thirdparty/openssl.git] / crypto / asn1 / d2i_r_pr.c
index a276a1d4c5e968d46d343d4fd8a308460f0636fe..3a4267bf9740d55c9b577ecb8514a48e7bafa916 100644 (file)
@@ -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;