nim-chronos icon indicating copy to clipboard operation
nim-chronos copied to clipboard

separate TLSFlags TLSVersion to standalone file or import bearssl when defined ssl

Open bung87 opened this issue 3 years ago • 2 comments

https://github.com/status-im/nim-chronos/blob/67f0f1224fe8176cf66c3fc35c74e313906d9658/chronos/streams/tlsstream.nim#L12

TLSVersion TLSFlags

my proc has params accept TLSVersion TLSFlags also has isSecurity flag, so ssl and non-ssl share same body, I dont want compile bearssl when not defined ssl.

bung87 avatar May 15 '21 09:05 bung87

If you do not want to have SSL bundled, just import apps/http/httpserver.

cheatfate avatar Jun 02 '21 12:06 cheatfate

well, I use my own http server, I define same data structure solve this for now.

bung87 avatar Jun 02 '21 13:06 bung87