On Thu, Mar 17, 2016 at 8:43 PM, Viktor Dukhovni <openssl-us...@dukhovni.org> wrote: > >> On Mar 17, 2016, at 8:25 PM, noloa...@gmail.com via RT <r...@openssl.org> >> wrote: >> >> Yeah, this looks fishy... According to the libc manual, 13.10 Perform >> I/O Operations in Parallel >> (https://www.gnu.org/software/libc/manual/html_node/Asynchronous-I_002fO.html): >> >> volatile void *aio_buf >> >> This is a pointer to the buffer with the data to >> be written or the place where the read data is >> stored. >> >> That cast should be to a void*, not an unsigned long. > > Wrong interface. Here, OpenSSL is using "struct iocb" from the kernel ABI via > <linux/aio_abi.h>, not glibc's "struct aiocb". In the kernel structure, the > definition is: > > __u64 aio_buf; >
OK, thanks. I just tested with void*, and it tested OK. The hang is no longer present and the self test simply failed. Let me test with uint64_t to see if the self test will pass. -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev