Skip to content

Commit 8c37b82

Browse files
committed
Ignore urllib3 warning about not using OpenSSL by default
1 parent 6fb984d commit 8c37b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SSLModuleBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ public void postInitialize(Python3Core core) {
223223
loadDefaults(core.getContext());
224224
PythonModule module = core.lookupBuiltinModule(T__SSL);
225225
module.setAttribute(tsLiteral("OPENSSL_VERSION_NUMBER"), 0);
226-
PTuple versionInfo = PFactory.createTuple(core.getLanguage(), new int[]{0, 0, 0, 0, 0});
226+
PTuple versionInfo = PFactory.createTuple(core.getLanguage(), new int[]{9, 9, 9, 9, 9});
227227
module.setAttribute(tsLiteral("OPENSSL_VERSION_INFO"), versionInfo);
228-
module.setAttribute(tsLiteral("OPENSSL_VERSION"), toTruffleStringUncached("GraalVM JSSE"));
228+
module.setAttribute(tsLiteral("OPENSSL_VERSION"), toTruffleStringUncached("OpenSSL compatible GraalVM JSSE"));
229229
module.setAttribute(tsLiteral("_DEFAULT_CIPHERS"), T_DEFAULT_CIPHER_STRING);
230230
module.setAttribute(tsLiteral("_OPENSSL_API_VERSION"), versionInfo);
231231

0 commit comments

Comments
 (0)