summaryrefslogtreecommitdiff
path: root/lib/ext/ext_master_secret.h
diff options
context:
space:
mode:
authorpeonix <ajeetsinghchahar2@gmail.com>2023-03-28 14:21:07 +0530
committerpeonix <ajeetsinghchahar2@gmail.com>2023-03-28 14:21:07 +0530
commita398ecfc297cdcdd8255106d234eb2d99bbc7525 (patch)
tree3f2f78bb0f57b1bd9161ebda0492ac8df8796cee /lib/ext/ext_master_secret.h
parent5bee87e19f70a9ac1339828cd1a1aa90282d2bfc (diff)
downloadgnutls-a398ecfc297cdcdd8255106d234eb2d99bbc7525.tar.gz
changes to keep backward compatibility
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
Diffstat (limited to 'lib/ext/ext_master_secret.h')
-rw-r--r--lib/ext/ext_master_secret.h3
1 files changed, 3 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;