Diff

Differences From Artifact [07e090db04]:

To Artifact [8baec4a647]:


38
39
40
41
42
43
44
45

46
47
48
49


50
51
52
53
54
55
56
57
38
39
40
41
42
43
44

45




46
47

48
49
50
51
52
53
54







-
+
-
-
-
-
+
+
-







 *	None.
 *
 *-------------------------------------------------------------------
 */
void NamesCallback(const OBJ_NAME *obj, void *arg) {
    Tcl_Obj *objPtr = (Tcl_Obj *) arg;

    /* Fields: (int) type and alias, (const char*) name and data */
    /* Fields: (int) type and alias, (const char*) name (alias from) and data (alias to) */
    if (1 || !obj->alias) {
	/* Filter out signed digests (a.k.a signature algorithms) */
	if (strstr(obj->name, "rsa") == NULL && strstr(obj->name, "RSA") == NULL) {
	    Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewStringObj(obj->name,-1));
    if (strstr(obj->name, "rsa") == NULL && strstr(obj->name, "RSA") == NULL) {
	Tcl_ListObjAppendElement(NULL, objPtr, Tcl_NewStringObj(obj->name,-1));
	}
    }
}

/*******************************************************************/

/*
 *-------------------------------------------------------------------