mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-12 10:13:39 +00:00
Give better name for class
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
c5ff33cedf
commit
33dd293723
@ -637,7 +637,7 @@ class CryptoConfig(Config):
|
|||||||
def filename(self):
|
def filename(self):
|
||||||
return self.configfile.filename
|
return self.configfile.filename
|
||||||
|
|
||||||
class MultiConfig(Config):
|
class CombinedConfig(Config):
|
||||||
"""Representation of MbedTLS and PSA crypto configuration
|
"""Representation of MbedTLS and PSA crypto configuration
|
||||||
|
|
||||||
See the documentation of the `Config` class for methods to query
|
See the documentation of the `Config` class for methods to query
|
||||||
@ -803,7 +803,7 @@ if __name__ == '__main__':
|
|||||||
excluding X.509 and TLS.""")
|
excluding X.509 and TLS.""")
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
config = MultiConfig(MbedTLSConfigFile(args.file), CryptoConfigFile(args.cryptofile))
|
config = CombinedConfig(MbedTLSConfigFile(args.file), CryptoConfigFile(args.cryptofile))
|
||||||
if args.command is None:
|
if args.command is None:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user