Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604844 - net-wireless/aircrack-ng-1.2_rc4 with dev-libs/openssl-1.1.0c - crypto.c:291:11: error: storage size of 'ctx' isn't known
Summary: net-wireless/aircrack-ng-1.2_rc4 with dev-libs/openssl-1.1.0c - crypto.c:291:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: http://trac.aircrack-ng.org/ticket/1711
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-01-06 14:53 UTC by eroen
Modified: 2017-01-13 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-wireless/aircrack-ng-1.2_rc4:20170106-145217.log (aircrack-ng-1.2_rc4:20170106-145217.log,4.77 KB, text/plain)
2017-01-06 14:53 UTC, eroen
Details
r2882.patch (r2882.patch,1.19 KB, patch)
2017-01-06 15:03 UTC, eroen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2017-01-06 14:53:53 UTC
Created attachment 458954 [details]
net-wireless/aircrack-ng-1.2_rc4:20170106-145217.log

x86_64-pc-linux-gnu-gcc -O0 -g -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -mavx -DJOHN_AVX -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE  -DHAVE_PCRE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -DSIMD_CORE   -c -o crypto.o crypto.c
crypto.c: In function 'calc_mic':
crypto.c:291:11: error: storage size of 'ctx' isn't known
  HMAC_CTX ctx;
           ^~~
crypto.c:317:2: warning: implicit declaration of function 'HMAC_CTX_init' [-Wimplicit-function-declaration]
  HMAC_CTX_init(&ctx);
  ^~~~~~~~~~~~~
crypto.c:327:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' [-Wimplicit-function-declaration]
  HMAC_CTX_cleanup(&ctx);
  ^~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: crypto.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-wireless/aircrack-ng-1.2_rc4/work/aircrack-ng-1.2-rc4/src'
make: *** [Makefile:25: all] Error 2
 * ERROR: net-wireless/aircrack-ng-1.2_rc4::gentoo failed (compile phase):
 *   emake failed
Comment 1 eroen 2017-01-06 15:03:17 UTC
Created attachment 458956 [details, diff]
r2882.patch

This is fixed upstream in svn revision 2882. The patch can be applied to aircrack-ng-1.2_rc4.
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2017-01-13 22:14:05 UTC
Thanks!

Added to aircrack-ng-1.2_rc4-r1