summaryrefslogtreecommitdiffstats
path: root/crypto/pem/pem_info.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
committerUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/pem/pem_info.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
Change functions to ANSI C.
Diffstat (limited to 'crypto/pem/pem_info.c')
-rw-r--r--crypto/pem/pem_info.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/crypto/pem/pem_info.c b/crypto/pem/pem_info.c
index bb56aa4e4e..7051c099f1 100644
--- a/crypto/pem/pem_info.c
+++ b/crypto/pem/pem_info.c
@@ -65,10 +65,7 @@
#include "pem.h"
#ifndef NO_FP_API
-STACK *PEM_X509_INFO_read(fp,sk,cb)
-FILE *fp;
-STACK *sk;
-int (*cb)();
+STACK *PEM_X509_INFO_read(FILE *fp, STACK *sk, int (*cb)())
{
BIO *b;
STACK *ret;
@@ -85,10 +82,7 @@ int (*cb)();
}
#endif
-STACK *PEM_X509_INFO_read_bio(bp,sk,cb)
-BIO *bp;
-STACK *sk;
-int (*cb)();
+STACK *PEM_X509_INFO_read_bio(BIO *bp, STACK *sk, int (*cb)())
{
X509_INFO *xi=NULL;
char *name=NULL,*header=NULL,**pp;
@@ -271,13 +265,8 @@ err:
/* A TJH addition */
-int PEM_X509_INFO_write_bio(bp,xi,enc,kstr,klen,cb)
-BIO *bp;
-X509_INFO *xi;
-EVP_CIPHER *enc;
-unsigned char *kstr;
-int klen;
-int (*cb)();
+int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
+ unsigned char *kstr, int klen, int (*cb)())
{
EVP_CIPHER_CTX ctx;
int i,ret=0;