aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/POW/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/POW/__init__.py')
-rw-r--r--rpkid/rpki/POW/__init__.py17
1 files changed, 4 insertions, 13 deletions
diff --git a/rpkid/rpki/POW/__init__.py b/rpkid/rpki/POW/__init__.py
index b150bbf1..d3796245 100644
--- a/rpkid/rpki/POW/__init__.py
+++ b/rpkid/rpki/POW/__init__.py
@@ -1,16 +1,7 @@
from _POW import *
-from _POW import _docset
-## @mainpage
-##
-## Python OpenSSL Wrappers (POW) is an old (but well-written)
-## interface between Python and OpenSSL (ok, you could have guessed
-## that from the name). Sadly, it appears to have fallen by the
-## wayside, and M2Crypto is getting a lot more attention these days.
-##
-## POW ships with a submodule, POW.pkix, which includes a wonderful
-## set of pure-Python routines for dealing with ASN.1 encodings of
-## X.509v3 certificates, extensions, and related data. I haven't
-## found anything as good anywhere else. This code deserves to be
-## salvaged and put to work.
+# Set callback to let POW construct rpki.sundial.datetime objects
+from rpki.sundial import datetime as sundial_datetime
+customDatetime(sundial_datetime)
+del sundial_datetime