Skip to content

Commit

Permalink
Adds two new fields to the output of 'cherokee -i': "SSL/TLS" and "TLS
Browse files Browse the repository at this point in the history
SNI".

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6862 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Sep 18, 2011
1 parent 28c2f3c commit dbee1b8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion cherokee/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,19 @@ cherokee_info_build_print (cherokee_server_t *srv)
#ifdef HAVE_SELECT
printf ("select ");
#endif
printf ("\n\n");
printf ("\n");

#ifdef HAVE_OPENSSL
printf (" SSL/TLS: libssl\n");
# ifndef OPENSSL_NO_TLSEXT
printf (" TLS SNI: yes\n");
# else
printf (" TLS SNI: no\n");
# endif
#else
printf (" SSL/TLS: no\n");
printf (" TLS SNI: no\n");
#endif

printf ("\n");
}

0 comments on commit dbee1b8

Please sign in to comment.