summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/include/pjsip/sip_auth.h2
-rw-r--r--pjsip/include/pjsip/sip_config.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/pjsip/include/pjsip/sip_auth.h b/pjsip/include/pjsip/sip_auth.h
index 3028f840..28e1c828 100644
--- a/pjsip/include/pjsip/sip_auth.h
+++ b/pjsip/include/pjsip/sip_auth.h
@@ -117,9 +117,7 @@ typedef struct pjsip_cached_auth
pj_uint32_t nc; /**< Nonce count. */
pj_str_t cnonce; /**< Cnonce value. */
#endif
-#if PJSIP_AUTH_AUTO_SEND_NEXT
pjsip_www_authenticate_hdr *last_chal; /**< Last challenge seen. */
-#endif
#if PJSIP_AUTH_HEADER_CACHING
pjsip_cached_auth_hdr cached_hdr;/**< List of cached header for
each method. */
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index f023d10a..e4b402fb 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -289,7 +289,7 @@
* Default: 1
*/
#if !defined(PJSIP_AUTH_HEADER_CACHING)
-# define PJSIP_AUTH_HEADER_CACHING 1
+# define PJSIP_AUTH_HEADER_CACHING 0
#endif
/**
@@ -310,7 +310,7 @@
* Default: 1
*/
#if !defined(PJSIP_AUTH_AUTO_SEND_NEXT)
-# define PJSIP_AUTH_AUTO_SEND_NEXT 1
+# define PJSIP_AUTH_AUTO_SEND_NEXT 0
#endif
/**