dkg at fifthhorseman
Oct 28, 2009, 8:04 AM
Post #3 of 3
On 10/28/2009 09:54 AM, Werner Koch wrote:
> On Tue, 27 Oct 2009 23:50, dkg [at] fifthhorseman said:
> - ret = gcry_control(GCRYCTL_SET_THREAD_CBS, gcry_threads_pthread);
> + ret = gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
> This is the usual problem with general purpose ioctl-alike fucntions:
> You don't have any type checking. I added examples to the docs.
Thanks, Werner. That does fix it for me, and it seems obvious in
retrospect ;) I suspect having the examples in the docs will be useful.