aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/grpc/_cython/cygrpc.pyx
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2016-02-05 21:26:54 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2016-02-09 19:02:56 +0000
commitfa6cad701c7993aa6e5746824931efbfca84ca24 (patch)
treea0eda09951de10add66837465532660bb5635c9a /src/python/grpcio/grpc/_cython/cygrpc.pyx
parentb59b142799fe28482162bc192d6205fcb749c6c4 (diff)
grpc_set_ssl_roots_override_callback for Python
Diffstat (limited to 'src/python/grpcio/grpc/_cython/cygrpc.pyx')
-rw-r--r--src/python/grpcio/grpc/_cython/cygrpc.pyx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/grpcio/grpc/_cython/cygrpc.pyx b/src/python/grpcio/grpc/_cython/cygrpc.pyx
index 579bac7b8a..f4b96ccd31 100644
--- a/src/python/grpcio/grpc/_cython/cygrpc.pyx
+++ b/src/python/grpcio/grpc/_cython/cygrpc.pyx
@@ -40,6 +40,7 @@ include "grpc/_cython/_cygrpc/channel.pyx.pxi"
include "grpc/_cython/_cygrpc/credentials.pyx.pxi"
include "grpc/_cython/_cygrpc/completion_queue.pyx.pxi"
include "grpc/_cython/_cygrpc/records.pyx.pxi"
+include "grpc/_cython/_cygrpc/security.pyx.pxi"
include "grpc/_cython/_cygrpc/server.pyx.pxi"
#
@@ -58,6 +59,8 @@ cdef class _ModuleState:
raise ImportError('failed to load core gRPC library')
grpc_init()
self.is_loaded = True
+ grpc_set_ssl_roots_override_callback(
+ <grpc_ssl_roots_override_callback>ssl_roots_override_callback)
def __dealloc__(self):
if self.is_loaded: