diff options
author | 2001-01-22 08:37:05 +0000 | |
---|---|---|
committer | 2001-01-22 08:37:05 +0000 | |
commit | 1bd8ec21d35add727900bf4b81d67d6afbe650c6 (patch) | |
tree | 38bbcec1cab46c0f8116d3b967f106a805fb4221 | |
parent | no need to include; from mouring@etoh.eviladmin.org (diff) | |
download | wireguard-openbsd-1bd8ec21d35add727900bf4b81d67d6afbe650c6.tar.xz wireguard-openbsd-1bd8ec21d35add727900bf4b81d67d6afbe650c6.zip |
Fix comment and error message reporting.
-rw-r--r-- | sbin/isakmpd/exchange.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c index 7e7ca6d5157..3235ad9007a 100644 --- a/sbin/isakmpd/exchange.c +++ b/sbin/isakmpd/exchange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exchange.c,v 1.37 2000/12/12 01:45:17 niklas Exp $ */ +/* $OpenBSD: exchange.c,v 1.38 2001/01/22 08:37:05 angelos Exp $ */ /* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */ /* @@ -1196,7 +1196,7 @@ exchange_free_aux (void *v_exch) if (exchange->finalize) exchange->finalize (exchange, exchange->finalize_arg, 1); - /* Remove any SAs that has not been dissociated from us. */ + /* Remove any SAs that has not been disassociated from us. */ for (sa = TAILQ_FIRST (&exchange->sa_list); sa; sa = next_sa) { next_sa = TAILQ_NEXT (sa, next); @@ -1336,8 +1336,8 @@ exchange_finalize (struct message *msg) msg->isakmp_sa->recv_cert = malloc (exchange->recv_certlen); if (!msg->isakmp_sa->recv_cert) { - log_error ("exchange_finalize: strdup (\"%s\") failed", - exchange->recv_cert); + log_error ("exchange_finalize: malloc (%d) failed", + exchange->recv_certlen); /* XXX How to cleanup? */ return; } |