diff --git a/server-ca/chocolate.py b/server-ca/chocolate.py index 495280ae8..6d14f15a0 100755 --- a/server-ca/chocolate.py +++ b/server-ca/chocolate.py @@ -335,11 +335,7 @@ class session(object): # or similar. # Send reply - if m.debug: - web.header("Content-type", "text/plain") - return "SAW MESSAGE: %s\nRESPONSE: %s\n" % (str(m), str(r)) - else: - return r.SerializeToString() + return r.SerializeToString() def GET(self): web.header("Content-type", "text/html") diff --git a/server-ca/chocolate_protocol.proto b/server-ca/chocolate_protocol.proto index a4d1543f2..2bc75bbd2 100644 --- a/server-ca/chocolate_protocol.proto +++ b/server-ca/chocolate_protocol.proto @@ -106,8 +106,4 @@ message chocolatemessage { /* Sent by SERVER to issue the requested certificate */ optional Success success = 8; - - /* For debugging; should be removed in final protocol. */ - optional bool debug = 9; /* Causes server to return text instead of - message! */ }