assert(remain == 0);
}
+
+time_t
+gss_eap_radius_attr_provider::getExpiryTime(void) const
+{
+ VALUE_PAIR *vp;
+
+ vp = rc_avpair_get(m_avps, PW_SESSION_TIMEOUT, 0);
+ if (vp == NULL || vp->lvalue == 0)
+ return 0;
+
+ return time(NULL) + vp->lvalue;
+}
int *complete,
gss_buffer_t value) const;
- bool authenticated() const { return m_authenticated; }
+ bool authenticated(void) const { return m_authenticated; }
- static bool init();
- static void finalize();
+ time_t getExpiryTime(void) const;
+
+ static bool init(void);
+ static void finalize(void);
static gss_eap_attr_provider *createAttrContext(void);