safe_free(digestAuthRealm);
}
-Auth::Digest::Config::Config()
-{
- /* TODO: move into initialisation list */
- /* 5 minutes */
- nonceGCInterval = 5 * 60;
- /* 30 minutes */
- noncemaxduration = 30 * 60;
- /* 50 requests */
- noncemaxuses = 50;
- /* Not strict nonce count behaviour */
- NonceStrictness = 0;
- /* Verify nonce count */
- CheckNonceCount = 1;
-}
+Auth::Digest::Config::Config() :
+ digestAuthRealm(NULL),
+ nonceGCInterval(5*60),
+ noncemaxduration(30*60),
+ noncemaxuses(50),
+ NonceStrictness(0),
+ CheckNonceCount(1),
+ PostWorkaround(0),
+ utf8(0)
+{}
void
Auth::Digest::Config::parse(Auth::Config * scheme, int n_configured, char *param_str)