diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-23 19:32:47 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-23 19:32:47 +0000 |
commit | 342864fab2ece5eb61269d112b73a049732f0628 (patch) | |
tree | 54fff7d21e8c5ac131cadda92488427ea211edc1 /sbin/isakmpd/ike_auth.c | |
parent | b243e6c8192f97717790fcba3cf899161896e665 (diff) |
Correct ipsec_id_string buffer and length handling.
Diffstat (limited to 'sbin/isakmpd/ike_auth.c')
-rw-r--r-- | sbin/isakmpd/ike_auth.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c index a7628f4ddda..d85d19cdaa1 100644 --- a/sbin/isakmpd/ike_auth.c +++ b/sbin/isakmpd/ike_auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_auth.c,v 1.59 2001/08/22 17:30:46 ho Exp $ */ +/* $OpenBSD: ike_auth.c,v 1.60 2001/08/23 19:32:46 niklas Exp $ */ /* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */ /* @@ -1208,9 +1208,6 @@ get_raw_key_from_file (int type, u_int8_t *id, size_t id_len, RSA **rsa) if (snprintf (filename, sizeof filename, "%s/", fstr) > sizeof filename - 1) return -1; - /* XXX This can't be the right place for this... */ - id_len += ISAKMP_GEN_SZ; - fstr = ipsec_id_string (id, id_len); if (!fstr) { |