Merge pull request #18024 from arjunroy/handshaker_fixup

grpc handshaker linkage fixup
pull/18043/head
Arjun Roy 6 years ago committed by GitHub
commit 487bd7f3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/core/lib/security/transport/security_handshaker.cc

@ -496,11 +496,6 @@ RefCountedPtr<Handshaker> SecurityHandshakerCreate(
}
}
grpc_handshaker* grpc_security_handshaker_create(
tsi_handshaker* handshaker, grpc_security_connector* connector) {
return SecurityHandshakerCreate(handshaker, connector).release();
}
void SecurityRegisterHandshakerFactories() {
HandshakerRegistry::RegisterHandshakerFactory(
false /* at_start */, HANDSHAKER_CLIENT,
@ -511,3 +506,8 @@ void SecurityRegisterHandshakerFactories() {
}
} // namespace grpc_core
grpc_handshaker* grpc_security_handshaker_create(
tsi_handshaker* handshaker, grpc_security_connector* connector) {
return SecurityHandshakerCreate(handshaker, connector).release();
}

Loading…
Cancel
Save