diff options
author | 2000-03-08 08:42:27 +0000 | |
---|---|---|
committer | 2000-03-08 08:42:27 +0000 | |
commit | f103b61b3f64b0f7a1902888f141a5102449cd5e (patch) | |
tree | 8f72ffdb9bc65c0cebfc13b6efbcc5a6218f08a8 | |
parent | Merge with EOM 1.37 (diff) | |
download | wireguard-openbsd-f103b61b3f64b0f7a1902888f141a5102449cd5e.tar.xz wireguard-openbsd-f103b61b3f64b0f7a1902888f141a5102449cd5e.zip |
Merge with EOM 1.7
author: ho
Add sysdep.h and compile with KAME
-rw-r--r-- | sbin/isakmpd/apps/certpatch/certpatch.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c index 518c8f32d87..47d671a0418 100644 --- a/sbin/isakmpd/apps/certpatch/certpatch.c +++ b/sbin/isakmpd/apps/certpatch/certpatch.c @@ -1,5 +1,5 @@ -/* $OpenBSD: certpatch.c,v 1.7 2000/02/01 02:46:17 niklas Exp $ */ -/* $EOM: certpatch.c,v 1.6 2000/01/31 22:33:50 niklas Exp $ */ +/* $OpenBSD: certpatch.c,v 1.8 2000/03/08 08:42:27 niklas Exp $ */ +/* $EOM: certpatch.c,v 1.7 2000/03/08 02:47:45 ho Exp $ */ /* * Copyright (c) 1999 Niels Provos. All rights reserved. @@ -58,9 +58,19 @@ #include <netinet/in.h> #include <arpa/inet.h> -#include <ssl/rsa.h> -#include <ssl/x509.h> -#include <ssl/pem.h> +#include "sysdep.h" + +#ifdef KAME +# ifdef CRYPTO +# include <openssl/rsa.h> +# endif +# include <openssl/x509.h> +# include <openssl/pem.h> +#else +# include <ssl/rsa.h> +# include <ssl/x509.h> +# include <ssl/pem.h> +#endif #include "conf.h" #include "log.h" |