Overview
Comment: | Add match result to ALPN callback parameters. This indicates if a common protocol was found or not. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | errors_and_callbacks |
Files: | files | file ages | folders |
SHA3-256: |
75f1cfb376cd5d48b303cbe5ff428563 |
User & Date: | bohagan on 2023-07-30 02:09:34 |
Other Links: | branch diff | manifest | tags |
Context
2023-07-30
| ||
02:53 | Updated default callbacks in tls.tcl file Closed-Leaf check-in: cdb51c799e user: bohagan tags: errors_and_callbacks | |
02:09 | Add match result to ALPN callback parameters. This indicates if a common protocol was found or not. check-in: 75f1cfb376 user: bohagan tags: errors_and_callbacks | |
00:20 | Updated password callback to add rwflag size arguments to callback. Callback now works like other callbacks with the function followed by args. Refactored get result processing. Added more info to doc file. check-in: c072b00aeb user: bohagan tags: errors_and_callbacks | |
Changes
Modified doc/tls.html
from [a0b037f824]
to [0f26c0f2be].
︙ | |||
555 556 557 558 559 560 561 | 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 | - + - - - - + + + + | <br> <br> <dl> <dt> |
︙ |
Modified generic/tls.c
from [c6cfb160ec]
to [45bcc590a0].
︙ | |||
680 681 682 683 684 685 686 687 688 689 690 691 692 693 | 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | + | return res; } /* Create command to eval */ cmdPtr = Tcl_DuplicateObj(statePtr->vcmd); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewStringObj("alpn", -1)); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewStringObj(*out, -1)); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewBooleanObj(res == SSL_TLSEXT_ERR_OK)); /* Eval callback command */ Tcl_IncrRefCount(cmdPtr); if ((code = EvalCallback(interp, statePtr, cmdPtr)) > 1) { res = SSL_TLSEXT_ERR_NOACK; } else if (code == 1) { res = SSL_TLSEXT_ERR_OK; |
︙ |