Give everything prototypes (well, everything that's actually used).
[openssl.git] / crypto / asn1 / a_sign.c
index 37e1e84a11448d079aea41f4a2444b4748850a1e..2542f750a21ce0bf79b25543f0a714da1da182a5 100644 (file)
 
 #ifndef NO_ASN1_OLD
 
-int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2,
-            ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey,
-            const EVP_MD *type)
+int ASN1_sign(int (*i2d)(void *, unsigned char **), X509_ALGOR *algor1,
+             X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data,
+             EVP_PKEY *pkey, const EVP_MD *type)
        {
        EVP_MD_CTX ctx;
        unsigned char *p,*buf_in=NULL,*buf_out=NULL;