From 352e7b86cff4df11423871333b51b6c730dd9cbf Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 26 Oct 2012 02:57:36 +0000 Subject: Change POW representation of UTCTime and GeneralizedTime to use Python datetime instead of OpenSSL-like GeneralizedTime strings. Clean up a lot of compiler warnings that gcc only reports with -Wextra. svn path=/branches/tk274/; revision=4791 --- rpkid/rpki/POW/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rpkid/rpki/POW') diff --git a/rpkid/rpki/POW/__init__.py b/rpkid/rpki/POW/__init__.py index 0468c235..d3796245 100644 --- a/rpkid/rpki/POW/__init__.py +++ b/rpkid/rpki/POW/__init__.py @@ -1 +1,7 @@ from _POW import * + +# Set callback to let POW construct rpki.sundial.datetime objects + +from rpki.sundial import datetime as sundial_datetime +customDatetime(sundial_datetime) +del sundial_datetime -- cgit v1.2.3