1
0
mirror of synced 2025-07-20 16:02:59 +03:00

build(meson): generate key_encrypted.pem (#1221)

8191fd8e6c only added one of the two files
This commit is contained in:
Andrea Pappacoda
2022-03-20 17:21:45 +01:00
committed by GitHub
parent bf0760fde4
commit 020b0db090

View File

@ -33,6 +33,12 @@ cert2_pem = custom_target(
command: [openssl, 'req', '-x509', '-config', test_conf, '-key', '@INPUT@', '-sha256', '-days', '3650', '-nodes', '-out', '@OUTPUT@', '-extensions', 'SAN'] command: [openssl, 'req', '-x509', '-config', test_conf, '-key', '@INPUT@', '-sha256', '-days', '3650', '-nodes', '-out', '@OUTPUT@', '-extensions', 'SAN']
) )
key_encrypted_pem = custom_target(
'key_encrypted_pem',
output: 'key_encrypted.pem',
command: [openssl, 'genrsa', '-passout', 'pass:test123!', '-out', '@OUTPUT@', '2048']
)
cert_encrypted_pem = custom_target( cert_encrypted_pem = custom_target(
'cert_encrypted_pem', 'cert_encrypted_pem',
input: key_encrypted_pem, input: key_encrypted_pem,