X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fbio_enc.c;h=831c71a2b5988f598aad4efdd8ae20729404a07f;hp=129e2e30a4086efc95c80a1f8c9f24aff16985d0;hb=130832150c1313824868b154cccda3ace88fa950;hpb=7ef8206859f9a52f48e817c023c744fe00e82c5d;ds=sidebyside diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c index 129e2e30a4..831c71a2b5 100644 --- a/crypto/evp/bio_enc.c +++ b/crypto/evp/bio_enc.c @@ -69,7 +69,7 @@ static int enc_read(BIO *h, char *buf, int size); static long enc_ctrl(BIO *h, int cmd, long arg1, void *arg2); static int enc_new(BIO *h); static int enc_free(BIO *data); -static long enc_callback_ctrl(BIO *h, int cmd, void (*fp)()); +static long enc_callback_ctrl(BIO *h, int cmd, bio_info_cb *fps); #define ENC_BLOCK_SIZE (1024*4) typedef struct enc_struct @@ -370,7 +370,7 @@ again: return(ret); } -static long enc_callback_ctrl(BIO *b, int cmd, void (*fp)()) +static long enc_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) { long ret=1;