Searched refs:version_ok (Results 1 – 4 of 4) sorted by relevance
207 bool version_ok; in dtls_open_record() local211 version_ok = (version >> 8) == DTLS1_VERSION_MAJOR; in dtls_open_record()213 version_ok = version == ssl->s3->aead_read_ctx->RecordVersion(); in dtls_open_record()216 if (!version_ok) { in dtls_open_record()
232 bool version_ok; in tls_open_record() local236 version_ok = (version >> 8) == SSL3_VERSION_MAJOR; in tls_open_record()238 version_ok = version == ssl->s3->aead_read_ctx->RecordVersion(); in tls_open_record()241 if (!version_ok) { in tls_open_record()
94 assert req.version_ok('1.0.9')95 assert not req.version_ok('0.9.1')96 assert not req.version_ok('unknown')104 assert not req.version_ok('unknown')
38 def version_ok(self, version): member in Require79 return self.version_ok(version)