Various Win32 fixes. Change args in do_ms.bat to put platform last. Fix
[openssl.git] / crypto / pem / pem_lib.c
index 916e9a8..2446430 100644 (file)
@@ -217,7 +217,7 @@ err:
 #ifndef NO_FP_API
 int PEM_ASN1_write(int (*i2d)(), const char *name, FILE *fp, char *x,
             const EVP_CIPHER *enc, unsigned char *kstr, int klen,
-            int (*callback)())
+            pem_password_cb *callback)
         {
         BIO *b;
         int ret;
@@ -325,7 +325,7 @@ err:
        }
 
 int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen,
-            int (*callback)())
+            pem_password_cb *callback)
        {
        int i,j,o,klen;
        long len;