Commit 958a5dbe authored by simon's avatar simon

test: disable resume

parent 72e0b45f
......@@ -399,7 +399,9 @@ export class EAPTTLS implements IEAPMethod {
// register event listeners
connection.events.on('incoming', incomingMessageHandler);
connection.events.on('response', responseHandler);
connection.events.on('secured', responseHandler);
connection.events.on('secured', () => {
connection.events.emit('decrypt', data);
});
// emit data to tls server
connection.events.emit('decrypt', data);
......
......@@ -13,7 +13,6 @@ const log = debug('radius:tls');
// https://nodejs.org/api/tls.html
const tlsOptions: tls.SecureContextOptions = {
...config.certificate,
secureOptions: constants.SSL_OP_NO_TICKET,
};
log('tlsOptions', tlsOptions);
const secureContext = createSecureContext(tlsOptions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment