mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 13:25:28 +00:00
Fix Config.unset() making the name known
This commit is contained in:
parent
208e4ec5d3
commit
55cc4dbb5c
|
@ -131,9 +131,10 @@ class Config:
|
|||
def unset(self, name):
|
||||
"""Make name unset (inactive).
|
||||
|
||||
name remains known.
|
||||
name remains known if it was known before.
|
||||
"""
|
||||
self.set(name)
|
||||
if name not in self.settings:
|
||||
return
|
||||
self.settings[name].active = False
|
||||
|
||||
def adapt(self, adapter):
|
||||
|
|
Loading…
Reference in a new issue