Hi All,
Just a heads up:
currently there is : int tls_funcs_get_packet(struct tls_vars *mytls_vars, int maxsize,
803 uint8_t **result, uint16_t *res_size)
so res_size is a 16 bit pointer.
line 853 more = queue_dequeue(&mytls_vars->tlsoutqueue, &dequeue_data, (uint32_t *)res_size);
transforms it into a 32 bit pointer.
it works fine, on little endian machines. It does not perform nicely unfortunately on big endian machines, like ppc.
I propose to use a localvariable to hold the data returned, or to change the maximum data that can be popped from a queue to 16 from 32 pointers.
(my im id is in the hotmail mail, if you want to contact me, Using gmt+2h).
Keep up the good work!
Thank you,
Ioan H.