summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-18 09:07:34 +0000
committermidipix <writeonce@midipix.org>2021-06-18 09:07:34 +0000
commitf9815e934617300d1a02cfe4061dd98c6b141413 (patch)
tree04d16a978dea11a814fc0a25f6e253dde11cea8e /profiles
parente76b009f8d9645edc28c8d4a7147c7851b57ae2d (diff)
downloadsbpython3-f9815e934617300d1a02cfe4061dd98c6b141413.tar.bz2
sbpython3-f9815e934617300d1a02cfe4061dd98c6b141413.tar.xz
profiles/osapi/modern.h: defer to python's list of default ciphers.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/osapi/modern.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/osapi/modern.h b/profiles/osapi/modern.h
index bf5afae..0bdcbbe 100644
--- a/profiles/osapi/modern.h
+++ b/profiles/osapi/modern.h
@@ -318,6 +318,15 @@
#define WITH_THREAD 1
+/* ssl ciphers */
+#define PY_SSL_DEFAULT_CIPHERS_CUSTOM 0
+#define PY_SSL_DEFAULT_CIPHERS_PYTHON 1
+#define PY_SSL_DEFAULT_CIPHERS_SSLLIB 2
+
+#ifndef PY_SSL_DEFAULT_CIPHERS
+#define PY_SSL_DEFAULT_CIPHERS PY_SSL_DEFAULT_CIPHERS_PYTHON
+#endif
+
/* features */
#ifndef _ALL_SOURCE
#define _ALL_SOURCE 1