Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 21:52:14 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334357 - head/sbin/dumpon
Message-ID:  <201805292152.w4TLqEAu087660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue May 29 21:52:13 2018
New Revision: 334357
URL: https://svnweb.freebsd.org/changeset/base/334357

Log:
  dumpon(8)
  - fix the WITHOUT_CRYPTO buildworld case.  Its rare, but some of us do
    build this way.
  
  Sponsored by:	Limelight Networks

Modified:
  head/sbin/dumpon/dumpon.c

Modified: head/sbin/dumpon/dumpon.c
==============================================================================
--- head/sbin/dumpon/dumpon.c	Tue May 29 21:45:15 2018	(r334356)
+++ head/sbin/dumpon/dumpon.c	Tue May 29 21:52:13 2018	(r334357)
@@ -393,7 +393,8 @@ main(int argc, char *argv[])
 
 #ifndef HAVE_CRYPTO
 	if (pubkeyfile != NULL)
-		errx("Unable to use the public key. Recompile dumpon with OpenSSL support.");
+		errx(EX_UNAVAILABLE,"Unable to use the public key."
+				    " Recompile dumpon with OpenSSL support.");
 #endif
 
 	if (server != NULL && client != NULL) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805292152.w4TLqEAu087660>