67 return a->sign_id - b->sign_id;
75 return (*a)->sign_id - (*b)->sign_id;
83 ret = (*a)->hash_id - (*b)->hash_id;
86 return (*a)->pkey_id - (*b)->pkey_id;
104 #ifndef OBJ_XREF_TEST2
107 rv = OBJ_bsearch_sig(&tmp, sigoid_srt,
139 #ifndef OBJ_XREF_TEST2
142 rv = OBJ_bsearch_sigx(&t, sigoid_srt_xref,
143 sizeof(sigoid_srt_xref) /
sizeof(
nid_triple *)
150 *psignid = (*rv)->sign_id;
213 #ifdef OBJ_XREF_TEST2
214 for (i = 0; i <
sizeof(sigoid_srt) /
sizeof(
nid_triple); i++)
221 for (i = 0; i <
sizeof(sigoid_srt) /
sizeof(
nid_triple); i++)
223 n1 = sigoid_srt[i][0];
225 printf(
"Forward: %d, %s %s %s\n", rv,
229 printf(
"Reverse: %d, %s %s %s\n", rv,