summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2003-05-15 03:20:28 +0000
committerho <ho@openbsd.org>2003-05-15 03:20:28 +0000
commitb089369476916ec8640b27a2fa6e3033099d49ee (patch)
tree8c2fb79640671fb9079c691dd13a7ad5df039367
parentavoid warning; ok jakob@ (diff)
downloadwireguard-openbsd-b089369476916ec8640b27a2fa6e3033099d49ee.tar.xz
wireguard-openbsd-b089369476916ec8640b27a2fa6e3033099d49ee.zip
Correct a two year old typo, which might actually make
setsockopt(..., IP_IPSEC_LOCAL_AUTH, ...) start working.
-rw-r--r--sbin/isakmpd/ike_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c
index d0e182c3f2a..f1ffbaa823e 100644
--- a/sbin/isakmpd/ike_auth.c
+++ b/sbin/isakmpd/ike_auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_auth.c,v 1.72 2003/05/15 02:28:56 ho Exp $ */
+/* $OpenBSD: ike_auth.c,v 1.73 2003/05/15 03:20:28 ho Exp $ */
/* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */
/*
@@ -1108,7 +1108,7 @@ rsa_sig_encode_hash (struct message *msg)
}
/* Again, we may have these from the kernel */
- buf = (u_int8_t *)conf_get_str (exchange->name, "OKAuthentication");
+ buf = (u_int8_t *)conf_get_str (exchange->name, "PKAuthentication");
if (buf)
{
key_from_printable (ISAKMP_KEY_RSA, ISAKMP_KEYTYPE_PRIVATE, (char *)buf,