move the aes key location so that the correct NEW key is sent

Fix #4562
This commit is contained in:
Thomas S Hatch 2013-04-23 19:11:38 -06:00
parent 1e0847925f
commit b53587aaad

View File

@ -622,7 +622,9 @@ class MWorker(multiprocessing.Process):
return
self.crypticle = salt.crypt.Crypticle(self.opts, aes)
self.clear_funcs.crypticle = self.crypticle
self.clear_funcs.opts['aes'] = aes
self.aes_funcs.crypticle = self.crypticle
self.aes_funcs.opts['aes'] = aes
self.k_mtime = stats.st_mtime
def run(self):