Differences From Artifact [c6cfb160ec]:
- File generic/tls.c — part of check-in [c072b00aeb] at 2023-07-30 00:20:14 on branch errors_and_callbacks — 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. (user: bohagan, size: 89046) [annotate] [blame] [check-ins using]
To Artifact [45bcc590a0]:
- File generic/tls.c — part of check-in [75f1cfb376] at 2023-07-30 02:09:34 on branch errors_and_callbacks — Add match result to ALPN callback parameters. This indicates if a common protocol was found or not. (user: bohagan, size: 89137) [annotate] [blame] [check-ins using]
︙ | |||
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; |
︙ |