projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add EVP_MAC_provider()
[openssl.git]
/
include
/
openssl
/
dtls1.h
diff --git
a/include/openssl/dtls1.h
b/include/openssl/dtls1.h
index 21b5252ea0a97f4689a58f62515a555762a66029..f717afbe51e7c9495348dba81cd1a3cfe492f8a0 100644
(file)
--- a/
include/openssl/dtls1.h
+++ b/
include/openssl/dtls1.h
@@
-14,10
+14,14
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <openssl/opensslconf.h>
+
# define DTLS1_VERSION 0xFEFF
# define DTLS1_2_VERSION 0xFEFD
# define DTLS1_VERSION 0xFEFF
# define DTLS1_2_VERSION 0xFEFD
-# define DTLS_MIN_VERSION DTLS1_VERSION
-# define DTLS_MAX_VERSION DTLS1_2_VERSION
+# if !OPENSSL_API_3
+# define DTLS_MIN_VERSION DTLS1_VERSION
+# define DTLS_MAX_VERSION DTLS1_2_VERSION
+# endif
# define DTLS1_VERSION_MAJOR 0xFE
# define DTLS1_BAD_VER 0x0100
# define DTLS1_VERSION_MAJOR 0xFE
# define DTLS1_BAD_VER 0x0100