aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/zookeeper.py
diff options
context:
space:
mode:
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"