I'm rejecting this ticket on the base that it's aged and that it seems to be a
misunderstanding of what arguments OBJ_bsearch_ex_ should be called with. Since
you aren't calling it directly but have made changes in the rest of the OpenSSL
source, maybe you should have a look at those changes
No, i commented out the RSA encrypt routines and several other things
that i can't/don't use. This resulted in a smaller array to search,
which led me to this problem.
I know it's no problem if you use OpenSSL the normal way. I don't call
it from my code. My code only calls methods available
Are you using OBJ_bsearch_ex_ directly from your code? It seems to me that you
have misunderstood how it works. size is the size of one element of your array,
num is the number of elements. The actual size of the array (in bytes) should
then be size*num, and you need to make sure that it is.
I
Hello,
I strapped down OpenSSL 1.0.1j to only the PEM to RSA, BIO and RSA public
decrypt functions. So a bug in the binary search in appeared:
Current code:
const void *OBJ_bsearch_ex_(const void *key, const void *base_, int num,
int size,