943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
|
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
|
-
+
|
char *name;
(void) clientData;
dprintf("Called");
/* Validate arg count */
if (objc != 2) {
Tcl_WrongNumArgs(interp, 1, objv, "provider");
Tcl_WrongNumArgs(interp, 1, objv, "name");
return TCL_ERROR;
}
name = Tcl_GetStringFromObj(objv[1], NULL);
if (!OSSL_PROVIDER_try_load(NULL, (const char *) name, 1)) {
Tcl_AppendResult(interp, GET_ERR_REASON(), (char *) NULL);
return TCL_ERROR;
|