summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-14 16:03:52 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-14 16:03:55 +0100
commit8f6533a93270598c715c14b97a8542d91f2fc89b (patch)
treedb0e29b5f3cff5fe11f617a6fd7e1339743ec0fa /src
parente32622f6310b6a9cbc6f766eca48859a5e3655df (diff)
downloadgnutls-8f6533a93270598c715c14b97a8542d91f2fc89b.tar.gz
gnutls-serv may run without certificate, but will issue a warning
Diffstat (limited to 'src')
-rw-r--r--src/serv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/serv.c b/src/serv.c
index bed62387b5..529db0777d 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -1126,8 +1126,7 @@ main (int argc, char **argv)
if (cert_set == 0)
{
- fprintf(stderr, "No private key and certificate pair was set.\n");
- exit(1);
+ fprintf(stderr, "Warning: no private key and certificate pairs were set.\n");
}
/* OCSP status-request TLS extension */