aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-30 01:18:20 +0000
committerlloyd <[email protected]>2012-01-30 01:18:20 +0000
commit83c5eb0bde3efe7025d52ec5d6cfdf05415814fc (patch)
tree9a3c174961cb64fbf26654f135a9f8402f7c6255 /src
parent4363e752c826cf5519967561d9e7be4456aadf3c (diff)
Remove debug printfs, stdio includes
Diffstat (limited to 'src')
-rw-r--r--src/math/numbertheory/numthry.cpp2
-rw-r--r--src/selftest/selftest.cpp4
-rw-r--r--src/wrap/python/filter.cpp5
3 files changed, 0 insertions, 11 deletions
diff --git a/src/math/numbertheory/numthry.cpp b/src/math/numbertheory/numthry.cpp
index 16fa8ca0c..c7896c17a 100644
--- a/src/math/numbertheory/numthry.cpp
+++ b/src/math/numbertheory/numthry.cpp
@@ -10,8 +10,6 @@
#include <botan/internal/bit_ops.h>
#include <algorithm>
-#include <stdio.h>
-
namespace Botan {
namespace {
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp
index 7b87bcb61..0dac31cef 100644
--- a/src/selftest/selftest.cpp
+++ b/src/selftest/selftest.cpp
@@ -10,8 +10,6 @@
#include <botan/internal/core_engine.h>
#include <botan/internal/stl_util.h>
-#include <stdio.h>
-
namespace Botan {
namespace {
@@ -28,8 +26,6 @@ bool test_filter_kat(Filter* filter,
const std::string output = pipe.read_all_as_string();
- //printf("%s %s\n", output.c_str(), expected_output.c_str());
-
return (output == expected_output);
}
diff --git a/src/wrap/python/filter.cpp b/src/wrap/python/filter.cpp
index 437c5239f..e329ed708 100644
--- a/src/wrap/python/filter.cpp
+++ b/src/wrap/python/filter.cpp
@@ -26,7 +26,6 @@ class Py_Filter : public Filter
void send_str(const std::string& str)
{
- printf("Py_Filter::send_str\n");
send((const byte*)str.data(), str.length());
}
};
@@ -36,14 +35,12 @@ class FilterWrapper : public Py_Filter, public wrapper<Py_Filter>
public:
void start_msg()
{
- printf("wrapper start_msg\n");
if(override start_msg = this->get_override("start_msg"))
start_msg();
}
void end_msg()
{
- printf("wrapper end_msg\n");
if(override end_msg = this->get_override("end_msg"))
end_msg();
}
@@ -53,7 +50,6 @@ class FilterWrapper : public Py_Filter, public wrapper<Py_Filter>
virtual void write_str(const std::string& str)
{
- printf("wrapper write\n");
this->get_override("write")(str);
}
};
@@ -125,7 +121,6 @@ void prepend_filter(Pipe& pipe, std::auto_ptr<Filter> filter)
void do_send(std::auto_ptr<FilterWrapper> filter, const std::string& data)
{
- printf("Sending %s to %p\n", data.c_str(), filter.get());
filter->send_str(data);
}