Various Win32 fixes. Change args in do_ms.bat to put platform last. Fix
[openssl.git] / crypto / pem / pem_lib.c
index 916e9a8132fd58d1786e2966686d833a09a17f20..24464308cd22cfe444023f810cb073c30b96b317 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;