mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 06:35:22 +00:00
fix wrong typo and indent issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
ca3790d653
commit
2f3f968033
@ -67,7 +67,7 @@ def main():
|
||||
return generate(**vars(args))
|
||||
|
||||
def generate(**kwargs):
|
||||
"""Generate different slt length certificate file."""
|
||||
"""Generate different salt length certificate file."""
|
||||
ca_password = kwargs.get('ca_password', '')
|
||||
if ca_password:
|
||||
kwargs['ca_password'] = r'-passin "pass:{ca_password}"'.format(
|
||||
|
@ -203,10 +203,8 @@ test-ca2.ku-%.crt: test-ca2.ku-%.crt.openssl.v3_ext $(test_ca_key_file_ec) test-
|
||||
$(OPENSSL) x509 -req -in test-ca2.req.sha256 -extfile $< \
|
||||
-signkey $(test_ca_key_file_ec) -days 3653 -out $@
|
||||
|
||||
all_final += test-ca2.ku-crl.crt \
|
||||
test-ca2.ku-crt.crt \
|
||||
test-ca2.ku-crt_crl.crt \
|
||||
test-ca2.ku-ds.crt
|
||||
all_final += test-ca2.ku-crl.crt test-ca2.ku-crt.crt test-ca2.ku-crt_crl.crt \
|
||||
test-ca2.ku-ds.crt
|
||||
|
||||
test-ca2-future.crt: $(test_ca_key_file_ec) test-ca2.req.sha256
|
||||
$(MBEDTLS_CERT_WRITE) is_ca=1 serial=13926223505202072808 request_file=test-ca2.req.sha256 selfsign=1 \
|
||||
@ -586,10 +584,9 @@ server9-bad-mgfhash.crt: server9.csr $(test_ca_crt) $(test_ca_key_file_rsa)
|
||||
-in $< -out $@
|
||||
all_final += server9-bad-mgfhash.crt
|
||||
|
||||
server9-bad-saltlen.crt: server9.csr \
|
||||
$(test_ca_crt) $(test_ca_key_file_rsa) \
|
||||
opensslcnf/server9.crt.v3_ext \
|
||||
../../scripts/mbedtls_dev/generate_server9_bad_saltlen.py
|
||||
server9-bad-saltlen.crt: server9.csr $(test_ca_crt) $(test_ca_key_file_rsa) \
|
||||
opensslcnf/server9.crt.v3_ext \
|
||||
../../scripts/mbedtls_dev/generate_server9_bad_saltlen.py
|
||||
../../scripts/mbedtls_dev/generate_server9_bad_saltlen.py --ca-name test-ca \
|
||||
--ca-password $(test_ca_pwd_rsa) --csr server9.csr \
|
||||
--openssl-extfile opensslcnf/server9.crt.v3_ext \
|
||||
@ -1549,9 +1546,9 @@ server6-ss-child.csr : server6.key
|
||||
all_intermediate += server6-ss-child.csr
|
||||
server6-ss-child.crt: server6-ss-child.csr server5-selfsigned.crt server5.key server6-ss-child.crt.openssl.v3_ext
|
||||
$(OPENSSL) x509 -req -CA server5-selfsigned.crt -CAkey server5.key \
|
||||
-extfile server6-ss-child.crt.openssl.v3_ext \
|
||||
-set_serial 0x53a2cb5822399474a7ec79ec \
|
||||
-days 3650 -sha256 -in $< -out $@
|
||||
-extfile server6-ss-child.crt.openssl.v3_ext \
|
||||
-set_serial 0x53a2cb5822399474a7ec79ec \
|
||||
-days 3650 -sha256 -in $< -out $@
|
||||
all_final += server6-ss-child.crt
|
||||
|
||||
|
||||
@ -1718,9 +1715,9 @@ crl.pem: $(test_ca_crt) $(test_ca_key_file_rsa) $(test_ca_config_file)
|
||||
$(OPENSSL) ca -gencrl -batch -cert $(test_ca_crt) -keyfile $(test_ca_key_file_rsa) -key $(test_ca_pwd_rsa) -config $(test_ca_server1_config_file) -md sha1 -crldays 3653 -out $@
|
||||
|
||||
crl-futureRevocationDate.pem: $(test_ca_crt) $(test_ca_key_file_rsa) \
|
||||
$(test_ca_config_file) \
|
||||
test-ca.server1.future-crl.db \
|
||||
test-ca.server1.future-crl.opensslconf
|
||||
$(test_ca_config_file) \
|
||||
test-ca.server1.future-crl.db \
|
||||
test-ca.server1.future-crl.opensslconf
|
||||
$(FAKETIME) -f '+10y' $(OPENSSL) ca -gencrl \
|
||||
-config test-ca.server1.future-crl.opensslconf -crldays 365 \
|
||||
-passin "pass:$(test_ca_pwd_rsa)" -out $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user