aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/http.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-03-21 01:35:49 +0000
committerRob Austein <sra@hactrn.net>2013-03-21 01:35:49 +0000
commitab90c10df0598aca095ae56ad886ce5a8bc008cd (patch)
treece5bc2433ea76337ec752be1b6c95d8628f55ed7 /rpkid/rpki/http.py
parent7bead4dba761aa6dd3639ab9bda8d5ea31d7d302 (diff)
Record context in CMS replay exceptions. Closes #458.
svn path=/trunk/; revision=5188
Diffstat (limited to 'rpkid/rpki/http.py')
-rw-r--r--rpkid/rpki/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/http.py b/rpkid/rpki/http.py
index d7690988..f505f72c 100644
--- a/rpkid/rpki/http.py
+++ b/rpkid/rpki/http.py
@@ -1051,7 +1051,7 @@ class caller(object):
try:
r_cms = self.proto.cms_msg(DER = r_der)
r_msg = r_cms.unwrap((self.server_ta, self.server_cert))
- self.cms_timestamp = r_cms.check_replay(self.cms_timestamp)
+ self.cms_timestamp = r_cms.check_replay(self.cms_timestamp, self.url)
if self.debug:
print "<!-- Reply -->"
print r_cms.pretty_print_content()