key_expiration variable not defined anywhere (in trustrouter.c in rlm_realm)
Alejandro Pérez Méndez
alex at um.es
Thu Nov 9 08:50:32 CET 2017
I messed up with git. This is the actual PR
(https://github.com/FreeRADIUS/freeradius-server/pull/2114)
El 09/11/17 a las 08:32, Alejandro Pérez Méndez escribió:
> Hi Stefan,
>
> you are right. Sadly the first line of my original commit
> (https://github.com/FreeRADIUS/freeradius-server/pull/2059/commits/c5cebd2e97a28897ad35d9a5cc0ab0d037104950)
> was lost. Nothing too serious.
> The following PR should fix it
> (https://github.com/FreeRADIUS/freeradius-server/pull/2113).
>
> Regards,
> Alejandro
>
>
>
> El 09/11/17 a las 00:29, Stefan Paetow escribió:
>> Hi Alan,
>>
>> During the build to make this all work with OpenSSL, I noticed that
>> 'key_expiration' is used for the first time in line 422 of
>> trustrouter.c in the rlm_realm module. According to Github this was a
>> manual merge? Did something go missing (the declaration of
>> key_expiration perhaps)?
>>
>> Build output snippet:
>>
>> -- begin --
>>
>> CC src/modules/rlm_realm/trustrouter.c
>> src/modules/rlm_realm/trustrouter.c: In function
>> ‘srvr_blk_to_home_server’:
>> src/modules/rlm_realm/trustrouter.c:422:36: error: ‘key_expiration’
>> undeclared (first use in this function); did you mean
>> ‘get_realm_expiration’?
>> tid_srvr_get_key_expiration(blk, &key_expiration);
>> ^~~~~~~~~~~~~~
>> get_realm_expiration
>> src/modules/rlm_realm/trustrouter.c:422:36: note: each undeclared
>> identifier is reported only once for each function it appears in
>> make: *** [scripts/boiler.mk:635:
>> build/objs/src/modules/rlm_realm/trustrouter.lo] Error 1
>>
>> -- end --
>>
>> Could you have a look? I've copied Alex in, just in case.
>>
>> Thank you very much!
>>
>> With Regards
>>
>> Stefan Paetow
>> Moonshot Industry & Research Liaison Coordinator
>>
>> t: +44 (0)1235 822 125
>> gpg: 0x3FCE5142
>> xmpp: stefanp at jabber.dev.ja.net
>> 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.
>>
>
More information about the Freeradius-Users
mailing list