mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Adds random id to each assay
This commit is contained in:
@@ -26,9 +26,7 @@ namespace ModSecurity {
|
||||
* @name ModSecurity
|
||||
* @brief Initilizes ModSecurity CPP API
|
||||
*
|
||||
* ModSecurity initializer. Although it is not really doing anything
|
||||
* in this version, further versions of this API may demands this to
|
||||
* be executed.
|
||||
* ModSecurity initializer.
|
||||
*
|
||||
* Example Usage:
|
||||
* @code
|
||||
@@ -41,6 +39,7 @@ namespace ModSecurity {
|
||||
*/
|
||||
ModSecurity::ModSecurity() {
|
||||
UniqueId::uniqueId();
|
||||
srand(time(NULL));
|
||||
}
|
||||
|
||||
|
||||
@@ -48,9 +47,7 @@ ModSecurity::ModSecurity() {
|
||||
* @name msc_init
|
||||
* @brief Initilizes ModSecurity C API
|
||||
*
|
||||
* ModSecurity initializer. Although it is not really doing anything
|
||||
* in this version, further versions of this API may demands this to
|
||||
* be executed.
|
||||
* ModSecurity initializer.
|
||||
*
|
||||
* Example Usage:
|
||||
* @code
|
||||
|
Reference in New Issue
Block a user