summaryrefslogtreecommitdiffstats
path: root/contrib/python/grpcio/py3/patches
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-08-29 14:19:24 +0300
committerrobot-piglet <[email protected]>2025-08-29 14:40:38 +0300
commit5715939b5b1a1812ed85171fb519f9c1c3c326e8 (patch)
tree5d981253427e490749bbb50d3616507fa0d6d1bc /contrib/python/grpcio/py3/patches
parentc390a008ee5d15e1d8f49326671908f375e0851b (diff)
Intermediate changes
commit_hash:88dd3a7e237f5ebeb9b302a0e6866042635fda83
Diffstat (limited to 'contrib/python/grpcio/py3/patches')
-rw-r--r--contrib/python/grpcio/py3/patches/05-ssl.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/python/grpcio/py3/patches/05-ssl.patch b/contrib/python/grpcio/py3/patches/05-ssl.patch
index 573ff7f59fe..4a1e22cc7ef 100644
--- a/contrib/python/grpcio/py3/patches/05-ssl.patch
+++ b/contrib/python/grpcio/py3/patches/05-ssl.patch
@@ -14,17 +14,17 @@ diff --git a/src/python/grpcio/grpc/_cython/cygrpc.pyx b/src/python/grpcio/grpc/
index ce98fa3..f7f369c 100644
--- a/src/python/grpcio/grpc/_cython/cygrpc.pyx
+++ b/src/python/grpcio/grpc/_cython/cygrpc.pyx
-@@ -56,8 +56,8 @@ cdef _initialize():
- # We have Python callbacks called by c-core threads, this ensures the GIL
- # is initialized.
- PyEval_InitThreads()
+@@ -81,7 +81,8 @@ cdef _initialize():
+ # initialize gRPC
+ #
+ cdef _initialize():
- grpc_set_ssl_roots_override_callback(
- <grpc_ssl_roots_override_callback>ssl_roots_override_callback)
--
+ import ssl
+ grpc_dont_init_openssl()
+ # Load Arcadia certs in ComputePemRootCerts and do not override here.
+
_initialize()
diff --git a/src/python/grpcio/grpc/_cython/_cygrpc/security.pyx.pxi b/src/python/grpcio/grpc/_cython/_cygrpc/security.pyx.pxi
index e17ca6d..9cc3fd5 100644