]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
changes to keep backward compatibility
authorpeonix <ajeetsinghchahar2@gmail.com>
Tue, 28 Mar 2023 08:51:07 +0000 (14:21 +0530)
committerpeonix <ajeetsinghchahar2@gmail.com>
Tue, 28 Mar 2023 08:51:07 +0000 (14:21 +0530)
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
lib/ext/ext_master_secret.h
lib/state.h
src/cli.c
tests/status-request.c

index e99c97fc2785ae24dbce75f36c4a05b8791acb37..ad807b846909697dd799319fb50287a94f4631c8 100644 (file)
@@ -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;
index 4519b41ec00016991dea00452999fdadcc76aa37..15d5ad63847d0bab4f8a3a2e88be9b6577a49e2b 100644 (file)
@@ -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 */
index f1eda4680f8e1a5339789afa1f8725491bb0edd3..08dddb08f28b3663845f7adf3a6a0da163d60a1f 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -1637,6 +1637,9 @@ void print_priority_list(void)
        return;
 }
 
+/* Keeps backward compatibility */
+#define GNUTLS_NO_EXTENSIONS GNUTLS_NO_DEFAULT_EXTENSIONS
+
 static void cmd_parser(int argc, char **argv)
 {
        char *rest = NULL;
index 66057a35db83958798ac1b537b60c275328c5646..feb3530e171ff9a1cbef620e8f0f8ccbd5b51992 100644 (file)
@@ -89,6 +89,9 @@ static int status_func(gnutls_session_t session, void *ptr,
 
 # define MAX_BUF 1024
 
+/* Keep backward compatibility */
+# define GNUTLS_NO_EXTENSIONS GNUTLS_NO_DEFAULT_EXTENSIONS
+
 static void client(int fd, const char *prio)
 {
        int ret;