summaryrefslogtreecommitdiffstats
path: root/crypto/evp/bio_b64.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 23:31:43 +0200
committerUlf Möller <ulf@openssl.org>1999-04-19 23:31:43 +0200
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/evp/bio_b64.c
parentFinish off support for Certificate Policies extension. (diff)
downloadopenssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.xz
openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.zip
Change functions to ANSI C.
Diffstat (limited to 'crypto/evp/bio_b64.c')
-rw-r--r--crypto/evp/bio_b64.c24
1 files changed, 6 insertions, 18 deletions
diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c
index 73172b9a07..a680064200 100644
--- a/crypto/evp/bio_b64.c
+++ b/crypto/evp/bio_b64.c
@@ -113,13 +113,12 @@ static BIO_METHOD methods_b64=
b64_free,
};
-BIO_METHOD *BIO_f_base64()
+BIO_METHOD *BIO_f_base64(void)
{
return(&methods_b64);
}
-static int b64_new(bi)
-BIO *bi;
+static int b64_new(BIO *bi)
{
BIO_B64_CTX *ctx;
@@ -140,8 +139,7 @@ BIO *bi;
return(1);
}
-static int b64_free(a)
-BIO *a;
+static int b64_free(BIO *a)
{
if (a == NULL) return(0);
Free(a->ptr);
@@ -151,10 +149,7 @@ BIO *a;
return(1);
}
-static int b64_read(b,out,outl)
-BIO *b;
-char *out;
-int outl;
+static int b64_read(BIO *b, char *out, int outl)
{
int ret=0,i,ii,j,k,x,n,num,ret_code=0;
BIO_B64_CTX *ctx;
@@ -354,10 +349,7 @@ int outl;
return((ret == 0)?ret_code:ret);
}
-static int b64_write(b,in,inl)
-BIO *b;
-char *in;
-int inl;
+static int b64_write(BIO *b, char *in, int inl)
{
int ret=inl,n,i;
BIO_B64_CTX *ctx;
@@ -451,11 +443,7 @@ int inl;
return(ret);
}
-static long b64_ctrl(b,cmd,num,ptr)
-BIO *b;
-int cmd;
-long num;
-char *ptr;
+static long b64_ctrl(BIO *b, int cmd, long num, char *ptr)
{
BIO_B64_CTX *ctx;
long ret=1;