key_expiration variable not defined anywhere (in trustrouter.c in rlm_realm)

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Thu Nov 9 00:29:02 CET 2017


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