summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/ext_master_secret.h3
-rw-r--r--lib/state.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/ext/ext_master_secret.h b/lib/ext/ext_master_secret.h
index e99c97fc27..ad807b8469 100644
--- a/lib/ext/ext_master_secret.h
+++ b/lib/ext/ext_master_secret.h
@@ -23,6 +23,9 @@
#ifndef GNUTLS_LIB_EXT_EXT_MASTER_SECRET_H
# define GNUTLS_LIB_EXT_EXT_MASTER_SECRET_H
+/* Keep backward compatibility */
+# define GNUTLS_NO_EXTENSIONS GNUTLS_NO_DEFAULT_EXTENSIONS
+
# include <hello_ext.h>
extern const hello_ext_entry_st ext_mod_ext_master_secret;
diff --git a/lib/state.h b/lib/state.h
index 4519b41ec0..15d5ad6384 100644
--- a/lib/state.h
+++ b/lib/state.h
@@ -113,4 +113,7 @@ _gnutls_PRF(gnutls_session_t session,
# define DEFAULT_CERT_TYPE GNUTLS_CRT_X509
+/* Keep backward compatibility */
+# define GNUTLS_NO_EXTENSIONS GNUTLS_NO_DEFAULT_EXTENSIONS
+
#endif /* GNUTLS_LIB_STATE_H */