Commit c810fe2d authored by nextime's avatar nextime

Fix a little typo in ikaprotocol

parent 9210115e
...@@ -231,7 +231,7 @@ class IkaPacket(object): ...@@ -231,7 +231,7 @@ class IkaPacket(object):
self.setEncType(self.enctype) self.setEncType(self.enctype)
self.epoch=self.hdr.epoch self.epoch=self.hdr.epoch
if memkey: if memkey:
self.setMemKey(memkey) self.setMemkey(memkey)
self.setMemIV(pwgen.generateIV128(memkey)) self.setMemIV(pwgen.generateIV128(memkey))
if memiv: if memiv:
self.setMemIV(memiv) self.setMemIV(memiv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment