Fix broken checks for presence of dummy keychain due to type mismatch
Refs #5200 Change-Id: I848c979c414cb802fe09359efda96c7dd29aa73d
This commit is contained in:
1 parent
49e43c39cd
commit
c32a07be3e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -105,7 +105,7 @@ class Minindn(object):
|
||||
process = Popen(['ndnsec-get-default', '-k'], stdout=PIPE, stderr=PIPE)
|
||||
output, error = process.communicate()
|
||||
if process.returncode == 0:
|
||||
Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output
|
||||
Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output.decode("utf-8")
|
||||
info('Dummy key chain patch is installed in ndn-cxx. Security will be disabled.\n')
|
||||
else:
|
||||
debug(error)
|
||||
|
||||
@@ -81,7 +81,7 @@ class MinindnWifi(Minindn):
|
||||
process = Popen(['ndnsec-get-default', '-k'], stdout=PIPE, stderr=PIPE)
|
||||
output, error = process.communicate()
|
||||
if process.returncode == 0:
|
||||
Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output
|
||||
Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output.decode("utf-8")
|
||||
info('Dummy key chain patch is installed in ndn-cxx. Security will be disabled.\n')
|
||||
else:
|
||||
debug(error)
|
||||
|
||||
Reference in new issue
Block a user