fixes SSL version check logic [backport] (#21324)

* fixed version check logic [backport]

* add ciphersuites

* debug nimble

* fixes returns omission

* finally

* remove debug message

* add ciphersuites

---------

Co-authored-by: Araq <rumpf_a@web.de>
This commit is contained in:
ringabout 2023-02-02 23:44:14 +08:00 • committed by GitHub
commit 17115cbc73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -887,7 +887,7 @@ proc reversed*(s: openArray[char]): string =
proc graphemeLen*(s: openArray[char]; i: Natural): Natural =
## The number of bytes belonging to byte index ``s[i]``,
## including following combining code unit.
## including following combining code units.
runnableExamples:
let a = "añyóng"
doAssert a.graphemeLen(1) == 2 ## ñ