>> Instead, I would recommend you just build mech_eap against a current open source Heimdal (with the other patch below) and also changing the Makefile as follows (after removing any references to -lkrb5/-lgssapi):
>>
>> LIBS = $(LIBS) -framework GSS -F/System/Library/PrivateFrameworks -framework Heimdal
>
> I've tweaked that and am now getting OpenSSL build errors:
>
> src/crypto/crypto_openssl.c:874:53: error: invalid operands to binary expression ('void' and 'int')
> if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) {
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Ok, I've gotten further... Apparently hostapd 2.5 had some code in it for OpenSSL 0.9.9 and earlier (and as per below, Mac OS uses 0.9.8zg or zh), which was subsequently removed in hostapd 2.6.
> I built openssl-0.9.8zg (the one included in the Apple OpenSource package), and then installed it into /usr/local/, then did the same with Heimdal 7.3.0.
I've back ported the changes and now get an error in our own code complaining about the use of an undefined identifier:
init_sec_context.c:250:50: error: use of undeclared identifier 'PW_GSS_ACCEPTOR_SERVICE_NAME'
major = gssEapRadiusAddAttr(minor, &buf, PW_GSS_ACCEPTOR_SERVICE_NAME,
^
There are others as well. I've searched the code and can't find this defined. Any idea where I can find these definitions? I suspect we're getting closer to fixing this... :-)
With Regards
Stefan Paetow
Moonshot Industry & Research Liaison Coordinator
t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: [log in to unmask]
skype: stefan.paetow.janet
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
|