summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-06-25 22:45:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-06-26 19:57:02 +0200
commit06eab39d8d01594864c35fde9b35d6d654d2958b (patch)
tree251a04b21da202af72eefe924b5ef347a5592630 /src/serv.c
parent6f3768f5917a5c3e0cb26ba0047d0f073fdcf75f (diff)
downloadgnutls-06eab39d8d01594864c35fde9b35d6d654d2958b.tar.gz
gnutls-serv: removed the --print-cert option; the cert was anyway being printed.
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/serv.c b/src/serv.c
index a6d6985111..576c861833 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -296,10 +296,6 @@ listener_item * j = gnutls_session_get_ptr(session);
unsigned int size;
int ret;
- if (HAVE_OPT(PRINT_CERT)) {
- print_cert_info(session, verbose, HAVE_OPT(PRINT_CERT));
- }
-
if (gnutls_auth_get_type(session) == GNUTLS_CRD_CERTIFICATE) {
if (!require_cert && gnutls_certificate_get_peers(session, &size) == NULL)
return 0;