summaryrefslogtreecommitdiff
path: root/ACE/tests/SSL
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/SSL')
-rw-r--r--ACE/tests/SSL/SSL_Asynch_Stream_Test.cpp8
-rw-r--r--ACE/tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp2
2 files changed, 10 insertions, 0 deletions
diff --git a/ACE/tests/SSL/SSL_Asynch_Stream_Test.cpp b/ACE/tests/SSL/SSL_Asynch_Stream_Test.cpp
index 58556a44f0b..dc07b703530 100644
--- a/ACE/tests/SSL/SSL_Asynch_Stream_Test.cpp
+++ b/ACE/tests/SSL/SSL_Asynch_Stream_Test.cpp
@@ -58,7 +58,9 @@ public:
block_ (1024) {}
~Client_Handler ();
+ //FUZZ: disable check_for_lack_ACE_OS
int open (ACE_HANDLE);
+ //FUZZ: enable check_for_lack_ACE_OS
private:
virtual void handle_write_stream (const ACE_SSL_Asynch_Write_Stream_Result &result);
@@ -78,7 +80,9 @@ public:
block_ (1024) {}
~Server_Handler ();
+ //FUZZ: disable check_for_lack_ACE_OS
int open (ACE_HANDLE);
+ //FUZZ: enable check_for_lack_ACE_OS
private:
virtual void handle_read_stream (const ACE_SSL_Asynch_Read_Stream_Result &result);
@@ -92,7 +96,9 @@ private:
class Server_Acceptor : public ACE_Event_Handler
{
public:
+ //FUZZ: disable check_for_lack_ACE_OS
int open (const ACE_INET_Addr &listen_addr);
+ //FUZZ: enable check_for_lack_ACE_OS
// Called when a new connection is ready to accept.
virtual int handle_input (ACE_HANDLE fd = ACE_INVALID_HANDLE);
@@ -135,12 +141,14 @@ static const char *test_string = "SSL_Asynch_Stream_Test!";
static void
parse_args (int argc, ACE_TCHAR *argv[])
{
+ //FUZZ: disable check_for_lack_ACE_OS
ACE_Get_Opt getopt (argc, argv, ACE_TEXT ("r:t:d:i:n:"));
int c;
while ((c = getopt ()) != -1)
{
+ //FUZZ: enable check_for_lack_ACE_OS
switch (c)
{
case 'r': // hostname:port
diff --git a/ACE/tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp b/ACE/tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp
index 290bf83592f..7f9bbd6c168 100644
--- a/ACE/tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp
+++ b/ACE/tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp
@@ -88,12 +88,14 @@ static int req_delay = 50;
static void
parse_arg (int argc, ACE_TCHAR *argv[])
{
+ //FUZZ: disable check_for_lack_ACE_OS
ACE_Get_Opt getopt (argc, argv, ACE_TEXT ("r:s:c:d:i:n:"));
int c;
while ((c = getopt ()) != -1)
{
+ //FUZZ: enable check_for_lack_ACE_OS
switch (c)
{
case 'r': // hostname:port