[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Check Packet-Versions before using any server
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv12392/lib/mixminion/server
Modified Files:
ServerKeys.py
Log Message:
Check Packet-Versions before using any server
Index: ServerKeys.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerKeys.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- ServerKeys.py 3 Dec 2003 23:18:53 -0000 1.61
+++ ServerKeys.py 7 Jan 2004 02:50:09 -0000 1.62
@@ -988,8 +988,7 @@
"KeyID": identityKeyID,
"MMTPProtocolsIn" : mmtpProtocolsIn,
"MMTPProtocolsOut" : mmtpProtocolsOut,
- "PacketFormat" : "%s.%s"%(mixminion.Packet.MAJOR_NO,
- mixminion.Packet.MINOR_NO),
+ "PacketVersion" : mixminion.Packet.PACKET_VERSION,
"mm_version" : mixminion.__version__,
"Secure" : secure
}
@@ -1031,7 +1030,7 @@
Valid-After: %(ValidAfter)s
Valid-Until: %(ValidUntil)s
Packet-Key: %(PacketKey)s
- Packet-Versions: %(PacketFormat)s
+ Packet-Versions: %(PacketVersion)s
Software: Mixminion %(mm_version)s
Secure-Configuration: %(Secure)s
""" % fields