From f574f03d70f9de6d2a13b74ce7d6afbff5ab1ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 21 Apr 2006 21:18:14 +0000 Subject: [PATCH] (oid_private_rc2_40): simply git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17148 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/crypto.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/hx509/crypto.c b/lib/hx509/crypto.c index 1f0ea05c4..7d1514a1e 100644 --- a/lib/hx509/crypto.c +++ b/lib/hx509/crypto.c @@ -1138,15 +1138,10 @@ struct hx509_crypto_data { static const heim_oid * oid_private_rc2_40(void) { -#define private_oid(name, number) \ -static unsigned name##_oid_data[] = { 127, number }; \ -static heim_oid name##_oid = { 2, name##_oid_data } + static const unsigned oid_data[] = { 127, 1 }; + static const heim_oid oid = { 2, oid_data }; -private_oid(private_rc2_40, 1); - -#undef private_oid - - return &private_rc2_40_oid; + return &oid; }