Overview
Comment: | Fixed PasswordCallback when using default tls::password callback to pass all parameters |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | main |
Files: | files | file ages | folders |
SHA3-256: |
af42842c6ee8493004da37e473ac4ee6 |
User & Date: | bohagan on 2024-12-08 22:20:24 |
Other Links: | branch diff | manifest | tags |
Context
2024-12-09
| ||
00:17 | Fixed issue where some non-error conditions triggered a call to Tls_Error check-in: 08e1cd7d4f user: bohagan tags: trunk, main | |
2024-12-08
| ||
22:20 | Fixed PasswordCallback when using default tls::password callback to pass all parameters check-in: af42842c6e user: bohagan tags: trunk, main | |
19:24 | Documentation cleanup check-in: ef8cbe9bbf user: bohagan tags: trunk, main | |
Changes
Modified generic/tls.c
from [7e537d9cb7]
to [5526768630].
︙ | ︙ | |||
538 539 540 541 542 543 544 | int code; Tcl_Size len; dprintf("Called"); /* If no callback, use default callback */ if (statePtr->password == NULL) { | > | < < < < < < < | < > | | < < < < | 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 | int code; Tcl_Size len; dprintf("Called"); /* If no callback, use default callback */ if (statePtr->password == NULL) { cmdPtr = Tcl_NewListObj(0, NULL); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewStringObj("tls::password", -1)); } else { cmdPtr = Tcl_DuplicateObj(statePtr->password); } /* Create command to eval with fn, rwflag, and size args */ Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewStringObj("password", -1)); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewIntObj(rwflag)); Tcl_ListObjAppendElement(interp, cmdPtr, Tcl_NewIntObj(size)); dprintf("PasswordCallback: eval callback"); Tcl_Preserve((void *) interp); |
︙ | ︙ |