From 921e3290bbd4239f2b29c10992e189e282fcdad3 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 11 Feb 2001 16:25:38 +0000 Subject: If IPSEC is defined but not CRYPTO, spit an error; angelos@ ok --- sys/netinet/ip_ipsp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index ca65f9dcc46..d2c63a4145b 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.75 2000/12/24 04:18:04 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.76 2001/02/11 16:25:37 fgsch Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -395,6 +395,9 @@ htonq(u_int64_t q) #endif #ifdef _KERNEL +#ifndef CRYPTO +#error "Must define CRYPTO in kernel config" +#endif /* * Protects all tdb lists. -- cgit v1.2.3