(x)
| 739 | } |
| 740 | |
| 741 | function SASLFinal(x) { |
| 742 | if (x.toString('utf8', 9).split(b.N, 1)[0].slice(2) === serverSignature) |
| 743 | return |
| 744 | /* c8 ignore next 5 */ |
| 745 | errored(Errors.generic('SASL_SIGNATURE_MISMATCH', 'The server did not return the correct signature')) |
| 746 | socket.destroy() |
| 747 | } |
| 748 | |
| 749 | function Pass() { |
| 750 | return Promise.resolve(typeof options.pass === 'function' |