From acc9efcd81c21f083ddd54c813e692ffd635cc6a Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 7 Jun 2014 15:06:24 +0000 Subject: Remove various test stubs. The good ones have been moved by jsing and others to the regress framework. These remaining ones just muddle us up when re-reading code repeatedly. ok jsing --- src/lib/libcrypto/objects/obj_xref.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/lib/libcrypto/objects/obj_xref.c') diff --git a/src/lib/libcrypto/objects/obj_xref.c b/src/lib/libcrypto/objects/obj_xref.c index 2c1631e773..34cfeeb92c 100644 --- a/src/lib/libcrypto/objects/obj_xref.c +++ b/src/lib/libcrypto/objects/obj_xref.c @@ -203,31 +203,3 @@ OBJ_sigid_free(void) sigx_app = NULL; } } - -#ifdef OBJ_XREF_TEST - -main() -{ - int n1, n2, n3; - - int i, rv; -#ifdef OBJ_XREF_TEST2 - for (i = 0; i < sizeof(sigoid_srt) / sizeof(nid_triple); i++) { - OBJ_add_sigid(sigoid_srt[i][0], sigoid_srt[i][1], - sigoid_srt[i][2]); - } -#endif - - for (i = 0; i < sizeof(sigoid_srt) / sizeof(nid_triple); i++) { - n1 = sigoid_srt[i][0]; - rv = OBJ_find_sigid_algs(n1, &n2, &n3); - printf("Forward: %d, %s %s %s\n", rv, - OBJ_nid2ln(n1), OBJ_nid2ln(n2), OBJ_nid2ln(n3)); - n1 = 0; - rv = OBJ_find_sigid_by_algs(&n1, n2, n3); - printf("Reverse: %d, %s %s %s\n", rv, - OBJ_nid2ln(n1), OBJ_nid2ln(n2), OBJ_nid2ln(n3)); - } -} - -#endif -- cgit v1.2.3-55-g6feb