/**
 * Copyright (c) 2020 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "test/certs.h"

// huawei
const char G_MBEDTLS_ROOT_CERTIFICATE[] =
"-----BEGIN CERTIFICATE-----\r\n" \
"MIIHeTCCBWGgAwIBAgIQf+qaN0l+0yGyi6R9UqGJTTANBgkqhkiG9w0BAQsFADCB\r\n" \
"iTELMAkGA1UEBhMCSVQxEDAOBgNVBAgMB0JlcmdhbW8xGTAXBgNVBAcMEFBvbnRl\r\n" \
"IFNhbiBQaWV0cm8xFzAVBgNVBAoMDkFjdGFsaXMgUy5wLkEuMTQwMgYDVQQDDCtB\r\n" \
"Y3RhbGlzIE9yZ2FuaXphdGlvbiBWYWxpZGF0ZWQgU2VydmVyIENBIEczMB4XDTIw\r\n" \
"MDcyMzExNTQxOVoXDTIxMDYwNDEwMDkxOVowgZYxCzAJBgNVBAYTAkNOMRIwEAYD\r\n" \
"VQQIDAlHdWFuZ2RvbmcxETAPBgNVBAcMCFNoZW56aGVuMSUwIwYDVQQKDBxIdWF3\r\n" \
"ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSIwIAYDVQQLDBlTZWN1cml0eSBFbmdp\r\n" \
"bmVlcmluZyBEZXB0MRUwEwYDVQQDDAwqLmh1YXdlaS5jb20wggEiMA0GCSqGSIb3\r\n" \
"DQEBAQUAA4IBDwAwggEKAoIBAQDNnJdX0ANjblDCxn5S8/IT6EQIDyz8W5+Zx4cX\r\n" \
"S9bpm/1KWGw74FLnWkwJgtwVGKp8PHcoq9vh1QIl4eTHFKH+9MqswsYVv8ee0uwd\r\n" \
"KfpyTrYT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