Skip to content

Commit cface42

Browse files
committed
tls: Pickle dataclasses instead of wrapper
mbedtls 3 doesn't have as many public accessors * Pass configuration to mbedtls wrapper * Remove accessors * Remove now-tautological accessor tests
1 parent b3853c3 commit cface42

File tree

3 files changed

+82
-487
lines changed

3 files changed

+82
-487
lines changed

src/mbedtls/_tls.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,13 +414,13 @@ cdef class _PSKSToreProxy:
414414

415415

416416
cdef class MbedTLSConfiguration:
417+
cdef object _configuration
417418
cdef mbedtls_ssl_config _ctx
418419
cdef _chain
419420
cdef int *_ciphers
420421
cdef const char **_protos
421422
cdef _PSKSToreProxy _store
422423
cdef _DTLSCookie _cookie
423-
cdef object _max_fragmentation_length
424424
# cdef'd because we aim at a non-writable structure.
425425
cdef _set_validate_certificates(self, validate)
426426
cdef _set_certificate_chain(self, chain)

0 commit comments

Comments
 (0)