diff options
author | 2014-04-15 17:46:16 +0000 | |
---|---|---|
committer | 2014-04-15 17:46:16 +0000 | |
commit | b4148b700a1c8f291abcf64c42ac3229f9827ca7 (patch) | |
tree | 157ab6b25c416ae3585d10a00df3c301d6bc4d95 /lib/libcrypto/objects/obj_dat.c | |
parent | - get the spacing right for -e, -i, -n, and -s (diff) | |
download | wireguard-openbsd-b4148b700a1c8f291abcf64c42ac3229f9827ca7.tar.xz wireguard-openbsd-b4148b700a1c8f291abcf64c42ac3229f9827ca7.zip |
Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity
with the bearded ones...
some API's that nobody should be using will dissapear with this commit.
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
-rw-r--r-- | lib/libcrypto/objects/obj_dat.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index a597284c808..bced796e624 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -705,22 +705,6 @@ const void *OBJ_bsearch_ex_(const void *key, const void *base_, int num, else break; } -#ifdef CHARSET_EBCDIC -/* THIS IS A KLUDGE - Because the *_obj is sorted in ASCII order, and - * I don't have perl (yet), we revert to a *LINEAR* search - * when the object wasn't found in the binary search. - */ - if (c != 0) - { - for (i=0; i<num; ++i) - { - p= &(base[i*size]); - c = (*cmp)(key,p); - if (c == 0 || (c < 0 && (flags & OBJ_BSEARCH_VALUE_ON_NOMATCH))) - return p; - } - } -#endif if (c != 0 && !(flags & OBJ_BSEARCH_VALUE_ON_NOMATCH)) p = NULL; else if (c == 0 && (flags & OBJ_BSEARCH_FIRST_VALUE_ON_MATCH)) |