BIO_free(in);
}
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
{
char *port=NULL;
BIO *ssl_bio,*tmp;
SSL_CTX *ctx;
- SSL *ssl;
char buf[512];
int ret=1,i;
SSL_load_error_strings();
-#ifdef WATT32
- dbug_init();
- sock_init();
-#endif
-
/* Add ciphers and message digests */
OpenSSL_add_ssl_algorithms();
goto err;
/* Setup server side SSL bio */
- ssl=SSL_new(ctx);
ssl_bio=BIO_new_ssl(ctx,0);
if ((in=BIO_new_accept(port)) == NULL) goto err;