aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/zookeeper.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-01-29 03:33:37 +0000
committerRob Austein <sra@hactrn.net>2014-01-29 03:33:37 +0000
commit5a007a74529766b5b27f8e054d4fad79172d2d5c (patch)
treeebe14115f87901aa3e3097edb028366730df227a /rpkid/rpki/irdb/zookeeper.py
parentf3ee7f51c0a091f244985ae7fd3d975a3259fee9 (diff)
Clean up OID database. Would have done this years ago, had I
understood how the globals() function works. svn path=/branches/tk671/; revision=5652
Diffstat (limited to 'rpkid/rpki/irdb/zookeeper.py')
-rw-r--r--rpkid/rpki/irdb/zookeeper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/irdb/zookeeper.py b/rpkid/rpki/irdb/zookeeper.py
index d2bd0c75..6c7d2206 100644
--- a/rpkid/rpki/irdb/zookeeper.py
+++ b/rpkid/rpki/irdb/zookeeper.py
@@ -1646,7 +1646,7 @@ class Zookeeper(object):
raise rpki.exceptions.BadX510DN("Subject name doesn't match router profile: %s" % pkcs10.getSubject())
eku = pkcs10.getEKU()
- if eku is None or rpki.oids.name2oid["id-kp-bgpsec-router"] not in eku:
+ if eku is None or rpki.oids.id_kp_bgpsec_router not in eku:
raise rpki.exceptions.WrongEKU("Router certificate EKU not present in request")
raise NotImplementedError, "Not finished"