View | Details | Raw Unified | Return to bug 271615
Collapse All | Expand All

(-)b/sbin/dumpon/Makefile (+1 lines)
Lines 8-13 PROG= dumpon Link Here
8
.if ${MK_OPENSSL} != "no"
8
.if ${MK_OPENSSL} != "no"
9
LIBADD=	crypto
9
LIBADD=	crypto
10
CFLAGS+=-DHAVE_CRYPTO
10
CFLAGS+=-DHAVE_CRYPTO
11
CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
11
.endif
12
.endif
12
13
13
MAN=	dumpon.8
14
MAN=	dumpon.8
(-)b/sbin/dumpon/dumpon.c (-1 / +2 lines)
Lines 565-572 main(int argc, char *argv[]) Link Here
565
#ifdef HAVE_CRYPTO
565
#ifdef HAVE_CRYPTO
566
	if (cipher != KERNELDUMP_ENC_NONE && pubkeyfile == NULL) {
566
	if (cipher != KERNELDUMP_ENC_NONE && pubkeyfile == NULL) {
567
		errx(EX_USAGE, "-C option requires a public key file.");
567
		errx(EX_USAGE, "-C option requires a public key file.");
568
# if OPENSSL_API_COMPAT < 0x10100000L
568
	} else if (pubkeyfile != NULL) {
569
	} else if (pubkeyfile != NULL) {
569
		ERR_load_crypto_strings();
570
		ERR_load_crypto_strings();
571
# endif
570
	}
572
	}
571
#else
573
#else
572
	if (pubkeyfile != NULL)
574
	if (pubkeyfile != NULL)
573
- 

Return to bug 271615