aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/data/test_root_cert.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-07 17:58:00 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-07 17:58:00 -0800
commitc284139d2f331d2d3a8f7314107e410a5d6f408f (patch)
treea39fab3e32412afeb41a36a7231b828cb8807129 /test/core/end2end/data/test_root_cert.cc
parentd9da7387b8057f3bd99a417a5ee905377bce9296 (diff)
Remove include from end2end data files and add extern C to each definition instead
Diffstat (limited to 'test/core/end2end/data/test_root_cert.cc')
-rw-r--r--test/core/end2end/data/test_root_cert.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/core/end2end/data/test_root_cert.cc b/test/core/end2end/data/test_root_cert.cc
index 81ca410e14..36fca2e45f 100644
--- a/test/core/end2end/data/test_root_cert.cc
+++ b/test/core/end2end/data/test_root_cert.cc
@@ -16,9 +16,7 @@
*
*/
-#include "test/core/end2end/data/ssl_test_data.h"
-
-const char test_root_cert[] = {
+extern "C" const char test_root_cert[] = {
0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x42, 0x45, 0x47, 0x49, 0x4e, 0x20, 0x43,
0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d,
0x2d, 0x2d, 0x2d, 0x0a, 0x4d, 0x49, 0x49, 0x43, 0x49, 0x7a, 0x43, 0x43,