if (unlang_request_is_cancelled(request)) return 0;
id = SSL_SESSION_get_id(sess, &id_len);
- RDEBUG3("Requested session store - ID %pV", fr_box_octets(id, id_len));
+ RDEBUG3("Session ID %pV - Requested store", fr_box_octets(id, id_len));
/*
* Store the session blob and session id for writing
* later, once all the authentication phases have completed.
* If OpenSSL major version is less than three
* use the old version number layout.
*/
- if ((v & 0xf0000000) < 3) {
+ if (((v & 0xf0000000) >> 28) < 3) {
p += sprintf(p, "%u.%u.%u",
(0xf0000000 & v) >> 28,
(0x0ff00000 & v) >> 20,