Fixes for dgst tool. Initialize md_name, sig_name properly. Return error code

on failure. Keep output format consistent with previous versions.

Also flush stdout after printing ACCEPT in s_server.
This commit is contained in:
Dr. Stephen Henson
2007-05-21 15:53:30 +00:00
parent 9aba74e55a
commit 9c54e18bf0
2 changed files with 12 additions and 15 deletions

View File

@@ -1447,6 +1447,7 @@ bad:
}
BIO_printf(bio_s_out,"ACCEPT\n");
BIO_flush(bio_s_out);
if (www)
do_server(port,socket_type,&accept_socket,www_body, context);
else