summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ike_auth.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-10-14 14:29:16 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-10-14 14:29:16 +0000
commitba7ec25970a73fac88e8af6f1da6ed719e3fd12f (patch)
tree107600153d81a5344a22372d986d66df8d30d240 /sbin/isakmpd/ike_auth.c
parent3f9f9669a0d7606e0a49e0c067baa9b93f3a2311 (diff)
constant_lookup() to constant_name() cleanup. markus@ ok.
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;
}