From 21a8e0b1d5868eeaa75b9024df6c603dc77e8e3c Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Tue, 29 May 2018 21:52:13 +0000 Subject: [PATCH] dumpon(8) - fix the WITHOUT_CRYPTO buildworld case. Its rare, but some of us do build this way. Sponsored by: Limelight Networks --- sbin/dumpon/dumpon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c index ddd8d4921696..cc5622bcd229 100644 --- a/sbin/dumpon/dumpon.c +++ b/sbin/dumpon/dumpon.c @@ -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) {