safe_free(digestAuthRealm);
}
-
-AuthDigestConfig::AuthDigestConfig()
-{
- /* TODO: move into initialisation list */
- authenticateChildren = 5;
- /* 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;
-}
+AuthDigestConfig::AuthDigestConfig() :
+ authenticateChildren(5),
+ digestAuthRealm(NULL),
+ authenticate(NULL),
+ nonceGCInterval(5*60),
+ noncemaxduration(30*60),
+ noncemaxuses(50),
+ NonceStrictness(0),
+ CheckNonceCount(1),
+ PostWorkaround(0),
+ utf8(0)
+{}
void
AuthDigestConfig::parse(AuthConfig * scheme, int n_configured, char *param_str)