diff options
Diffstat (limited to 'crypto/evp/bio_b64.c')
| -rw-r--r-- | crypto/evp/bio_b64.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c index e76387eaece..bd5e24f9939 100644 --- a/crypto/evp/bio_b64.c +++ b/crypto/evp/bio_b64.c @@ -62,11 +62,11 @@ #include <openssl/buffer.h> #include <openssl/evp.h> -static int b64_write(BIO *h, const char *buf, int num); -static int b64_read(BIO *h, char *buf, int size); -/*static int b64_puts(BIO *h, const char *str); */ -/*static int b64_gets(BIO *h, char *str, int size); */ -static long b64_ctrl(BIO *h, int cmd, long arg1, void *arg2); +static int b64_write(BIO *h,char *buf,int num); +static int b64_read(BIO *h,char *buf,int size); +/*static int b64_puts(BIO *h,char *str); */ +/*static int b64_gets(BIO *h,char *str,int size); */ +static long b64_ctrl(BIO *h,int cmd,long arg1,char *arg2); static int b64_new(BIO *h); static int b64_free(BIO *data); static long b64_callback_ctrl(BIO *h,int cmd,void (*fp)()); @@ -340,7 +340,7 @@ static int b64_read(BIO *b, char *out, int outl) return((ret == 0)?ret_code:ret); } -static int b64_write(BIO *b, const char *in, int inl) +static int b64_write(BIO *b, char *in, int inl) { int ret=inl,n,i; BIO_B64_CTX *ctx; @@ -434,7 +434,7 @@ static int b64_write(BIO *b, const char *in, int inl) return(ret); } -static long b64_ctrl(BIO *b, int cmd, long num, void *ptr) +static long b64_ctrl(BIO *b, int cmd, long num, char *ptr) { BIO_B64_CTX *ctx; long ret=1; |
