summaryrefslogtreecommitdiffstats
path: root/apps/sess_id.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 /apps/sess_id.c
parentFinish off support for Certificate Policies extension. (diff)
downloadopenssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.xz
openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.zip
Change functions to ANSI C.
Diffstat (limited to 'apps/sess_id.c')
-rw-r--r--apps/sess_id.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/sess_id.c b/apps/sess_id.c
index 4a1860d080..c1b497981e 100644
--- a/apps/sess_id.c
+++ b/apps/sess_id.c
@@ -89,9 +89,7 @@ static SSL_SESSION *load_sess_id(char *file, int format);
static SSL_SESSION *load_sess_id();
#endif
-int MAIN(argc, argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
{
SSL_SESSION *x=NULL;
int ret=1,i,num,badops=0;
@@ -271,9 +269,7 @@ end:
EXIT(ret);
}
-static SSL_SESSION *load_sess_id(infile, format)
-char *infile;
-int format;
+static SSL_SESSION *load_sess_id(char *infile, int format)
{
SSL_SESSION *x=NULL;
BIO *in=NULL;