Merge pull request #25056 from yashykt/logunsecurewarning

Add log for insecure buils
pull/25104/head
Yash Tibrewal 4 years ago committed by GitHub
commit 3eb743ba4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/core/lib/surface/init_unsecure.cc

@ -18,10 +18,16 @@
#include <grpc/support/port_platform.h>
#include <grpc/support/log.h>
#include "src/core/lib/surface/init.h"
void grpc_security_pre_init(void) {}
void grpc_register_security_filters(void) {}
void grpc_security_init(void) {}
void grpc_security_init(void) {
gpr_log(GPR_DEBUG,
"Using insecure gRPC build. Security handshakers will not be invoked "
"even if secure credentials are used.");
}

Loading…
Cancel
Save