mirror of https://github.com/acidanthera/audk.git
BaseTools: Rsa2048Sha256GenerateKeys to support OPENSSL_PATH has space
Update Rsa2048Sha256GenerateKeys Tool to support the case that OPENSSL_PATH has space characters. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
a3607b263b
commit
fcdb928a82
|
@ -64,6 +64,8 @@ if __name__ == '__main__':
|
||||||
try:
|
try:
|
||||||
OpenSslPath = os.environ['OPENSSL_PATH']
|
OpenSslPath = os.environ['OPENSSL_PATH']
|
||||||
OpenSslCommand = os.path.join(OpenSslPath, OpenSslCommand)
|
OpenSslCommand = os.path.join(OpenSslPath, OpenSslCommand)
|
||||||
|
if ' ' in OpenSslCommand:
|
||||||
|
OpenSslCommand = '"' + OpenSslCommand + '"'
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue