mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 15:05:42 +01:00
Fix Config.unset() making the name known
This commit is contained in:
parent
812f185bc8
commit
b6fa7970a6
@ -131,9 +131,10 @@ class Config:
|
|||||||
def unset(self, name):
|
def unset(self, name):
|
||||||
"""Make name unset (inactive).
|
"""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
|
self.settings[name].active = False
|
||||||
|
|
||||||
def adapt(self, adapter):
|
def adapt(self, adapter):
|
||||||
|
Loading…
Reference in New Issue
Block a user