summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2000-10-07 06:58:55 +0000
committerniklas <niklas@openbsd.org>2000-10-07 06:58:55 +0000
commitb874e5c4d945581ccbf53b1431ce10fb549faad1 (patch)
treeb16bbee0aec931de407d8d03ac77daf65a08eeef
parentMerge with EOM 1.132 (diff)
downloadwireguard-openbsd-b874e5c4d945581ccbf53b1431ce10fb549faad1.tar.xz
wireguard-openbsd-b874e5c4d945581ccbf53b1431ce10fb549faad1.zip
Merge with EOM 1.9
author: niklas Style author: ho Nowadays we can use #include <openssl/...> instead of <ssl/...>
-rw-r--r--sbin/isakmpd/apps/certpatch/certpatch.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c
index 47d671a0418..0d2c9041812 100644
--- a/sbin/isakmpd/apps/certpatch/certpatch.c
+++ b/sbin/isakmpd/apps/certpatch/certpatch.c
@@ -1,9 +1,10 @@
-/* $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 $ */
+/* $OpenBSD: certpatch.c,v 1.9 2000/10/07 06:58:55 niklas Exp $ */
+/* $EOM: certpatch.c,v 1.9 2000/09/28 12:53:37 niklas Exp $ */
/*
* Copyright (c) 1999 Niels Provos. All rights reserved.
* Copyright (c) 1999, 2000 Angelos D. Keromytis. All rights reserved.
+ * Copyright (c) 2000 Niklas Hallqvist. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -64,14 +65,13 @@
# 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>
+# include <openssl/rsa.h>
#endif
+#include <openssl/x509.h>
+#include <openssl/pem.h>
+
#include "conf.h"
#include "log.h"
#include "ipsec_num.h"
@@ -80,6 +80,7 @@
#define IDTYPE_IP "ip"
#define IDTYPE_FQDN "fqdn"
#define IDTYPE_UFQDN "ufqdn"
+
int
main (int argc, char **argv)
{