aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_ssl/servers/cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/bad_ssl/servers/cert.c')
-rw-r--r--test/core/bad_ssl/servers/cert.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/core/bad_ssl/servers/cert.c b/test/core/bad_ssl/servers/cert.c
index 8a294c8fe3..d67a6ca1d4 100644
--- a/test/core/bad_ssl/servers/cert.c
+++ b/test/core/bad_ssl/servers/cert.c
@@ -43,6 +43,9 @@
#include "test/core/bad_ssl/server.h"
#include "test/core/end2end/data/ssl_test_data.h"
+/* This server will present an untrusted cert to the connecting client,
+ * causing the SSL handshake to fail */
+
int main(int argc, char **argv) {
const char *addr = bad_ssl_addr(argc, argv);
grpc_ssl_pem_key_cert_pair pem_key_cert_pair;