diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-02-11 16:25:38 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-02-11 16:25:38 +0000 |
commit | 921e3290bbd4239f2b29c10992e189e282fcdad3 (patch) | |
tree | d6f40d7c5a0b56447fe79b65bccee78a51618c5b /sys/netinet | |
parent | 2fb11efe31b2e087accc2b6759ec249f4c7db863 (diff) |
If IPSEC is defined but not CRYPTO, spit an error; angelos@ ok
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 5 |
1 files changed, 4 insertions, 1 deletions
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. |