diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-07-08 20:56:38 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-04 20:56:23 +0100 |
commit | ff4952896ec4383a107bbe94001ca0a64ff47433 (patch) | |
tree | 5fb88acc3651e2f03732f1e266b61832846050b7 /ssl/s3_lib.c | |
parent | e6027420b7124d6196ccff391063a6626b1fab62 (diff) |
Fix DTLS_VERSION_xx() comparison macros for DTLS1_BAD_VER
DTLS version numbers are strange and backwards, except DTLS1_BAD_VER so
we have to make a special case for it.
This does leave us with a set of macros which will evaluate their arguments
more than once, but it's not a public-facing API and it's not like this is
the kind of thing where people will be using DTLS_VERSION_LE(x++, y) anyway.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions