load-tester: Avoid naming conflict with local certificate variables
This commit is contained in:
@@ -154,7 +154,7 @@ Cj6VaDacc7yOhZK61nGzNJml5NEeLzZkGzYvsIggL/Kb2v42fKYC5OunkZ1Nw3YY
|
|||||||
kGfz0rGDkJqIxx0inxp84PWWR5lX84A9pNQ=
|
kGfz0rGDkJqIxx0inxp84PWWR5lX84A9pNQ=
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
*/
|
*/
|
||||||
static char cert[] = {
|
static char default_cert[] = {
|
||||||
0x30,0x82,0x02,0x26,0x30,0x82,0x01,0x8f,0xa0,0x03,0x02,0x01,0x02,0x02,0x01,0x00,
|
0x30,0x82,0x02,0x26,0x30,0x82,0x01,0x8f,0xa0,0x03,0x02,0x01,0x02,0x02,0x01,0x00,
|
||||||
0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x30,
|
0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x30,
|
||||||
0x37,0x31,0x0c,0x30,0x0a,0x06,0x03,0x55,0x04,0x03,0x13,0x03,0x73,0x72,0x76,0x31,
|
0x37,0x31,0x0c,0x30,0x0a,0x06,0x03,0x55,0x04,0x03,0x13,0x03,0x73,0x72,0x76,0x31,
|
||||||
@@ -235,7 +235,8 @@ static certificate_t *load_issuer_cert()
|
|||||||
if (!path)
|
if (!path)
|
||||||
{
|
{
|
||||||
return lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
|
return lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
|
||||||
BUILD_BLOB_ASN1_DER, chunk_create(cert, sizeof(cert)),
|
BUILD_BLOB_ASN1_DER,
|
||||||
|
chunk_create(default_cert, sizeof(default_cert)),
|
||||||
BUILD_X509_FLAG, X509_CA,
|
BUILD_X509_FLAG, X509_CA,
|
||||||
BUILD_END);
|
BUILD_END);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user