summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ike_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/ike_auth.c')
-rw-r--r--sbin/isakmpd/ike_auth.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c
index f2fc0271cc6..b6ae826062b 100644
--- a/sbin/isakmpd/ike_auth.c
+++ b/sbin/isakmpd/ike_auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_auth.c,v 1.79 2003/08/08 08:46:59 ho Exp $ */
+/* $OpenBSD: ike_auth.c,v 1.80 2003/10/14 14:29:15 ho Exp $ */
/* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */
/*
@@ -582,7 +582,6 @@ rsa_sig_decode_hash (struct message *msg)
u_int32_t *id_cert_len;
size_t id_len;
int found = 0, n, i, id_found;
- char *tag;
#if defined (USE_DNSSEC)
u_int8_t *rawkey = 0;
u_int32_t rawkeylen;
@@ -681,11 +680,10 @@ rsa_sig_decode_hash (struct message *msg)
handler = cert_get (GET_ISAKMP_CERT_ENCODING (p->p));
if (!handler)
{
- tag = constant_lookup (isakmp_certenc_cst,
- GET_ISAKMP_CERT_ENCODING (p->p));
LOG_DBG ((LOG_MISC, 30,
"rsa_sig_decode_hash: no handler for %s CERT encoding",
- tag ? tag : "<unknown>"));
+ constant_name (isakmp_certenc_cst,
+ GET_ISAKMP_CERT_ENCODING (p->p))));
continue;
}