JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-DEV Archives


MOONSHOT-DEV Archives

MOONSHOT-DEV Archives


MOONSHOT-DEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-DEV Home

MOONSHOT-DEV Home

MOONSHOT-DEV  June 2017

MOONSHOT-DEV June 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Building mech_eap requires libradsec on Mac?

From:

Alejandro Pérez Méndez <[log in to unmask]>

Date:

Thu, 22 Jun 2017 19:10:50 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (56 lines)

El 22/06/17 a las 18:56, Margaret Cullen escribió:
> Hi Stefan,
>
>> On Jun 22, 2017, at 12:27 PM, Stefan Paetow <[log in to unmask]> wrote:
>>
>> Ok,
>>
>>> Am building mech_eap on Mac, but seem to be getting errors that radsec cannot be found. According to Adam, the client mechanism shouldn't need radsec, so why is it trying to build with it?
>> I've been told to pass --enable-acceptor=no. Does this negatively affect anything on a client, or is the 'acceptor' the server side?
> The GSS acceptor is the server side of the GSS connection, so I don’t think this will affect anything unless you want the Mac to be able to server as an RP/SP.
>> Either way, I'm now getting openssl 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) {
>>             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
>> src/crypto/crypto_openssl.c:907:6: error: assigning to 'int' from incompatible type 'void'
>>         res = HMAC_Final(ctx->ctx, mac, &mdlen);
>>             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> src/crypto/crypto_openssl.c:935:6: error: assigning to 'int' from incompatible type 'void'
>>         res = HMAC_Init_ex(ctx, key, key_len, type, NULL);
>>             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> src/crypto/crypto_openssl.c:942:6: error: assigning to 'int' from incompatible type 'void'
>>         res = HMAC_Final(ctx, mac, &mdlen);
>>             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 4 errors generated.
>>
>> While the error is obvious, I'm not sure about the error itself. The version of openssl that was included is 'openssl-0.9.8zg', which is the latest for Mac. It was installed (for build purposes) into /usr/local.
> Could HMAC_*() be void functions on the Mac (i.e. they don’t return anything), but return integers on Linux?  That appears to be the issue, from these code snippets and compiler errors.

HMAC_Init_e), HMAC_Update() and HMAC_Final() did not return values in 
versions of OpenSSL before 1.0.0.
 From the OpenSSL man page.

Regards,
Alejandro

>
> Margaret
>
>> Am I missing something else?
>>
>> 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.
>>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
April 2018
February 2018
January 2018
December 2017
November 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
February 2017
January 2017
December 2016
October 2016
September 2016
August 2016
June 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
August 2015
July 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager