git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95620
13f79535-47bb-0310-9956-
ffa450edef68
#define DFLT_ALGORITHM "MD5"
-#define DFLT_NONCE_LIFE APR_TIME_FROM_SEC(300)
-#define NEXTNONCE_DELTA APR_TIME_FROM_SEC(30)
+#define DFLT_NONCE_LIFE apr_time_from_sec(300)
+#define NEXTNONCE_DELTA apr_time_from_sec(30)
#define NONCE_TIME_LEN (((sizeof(apr_time_t)+2)/3)*4)
t, NULL);
}
- ((digest_config_rec *) config)->nonce_lifetime = APR_TIME_FROM_SEC(lifetime);
+ ((digest_config_rec *) config)->nonce_lifetime = apr_time_from_sec(lifetime);
return NULL;
}
#include "mod_isapi.h"
/* Retry frequency for a failed-to-load isapi .dll */
-#define ISAPI_RETRY APR_TIME_FROM_SEC(30)
+#define ISAPI_RETRY apr_time_from_sec(30)
/**********************************************************
*
connect_tries);
close(sd);
apr_sleep(sliding_timer);
- if (sliding_timer < APR_TIME_FROM_SEC(2)) {
+ if (sliding_timer < apr_time_from_sec(2)) {
sliding_timer *= 2;
}
}