This is our old Q&A Site. Please post any new questions and answers at

I'd like to know what the function does in line 1165 of this link. it is ssl_print_string(a, b) function in packe-ssl-utils.h file. I've seen it is been called in several places where it was given a string as a first argument and a variable as the second one. However, I'm not able to tell from the context what it does and not able to find its body (if it has one!).


asked 10 Nov '14, 09:57

flora's gravatar image

accept rate: 100%

That definition is simply a macro definition that compiles to nothing when SSL_DECRYPT_DEBUG isn't defined. When it is defined the function is defined as an external one, but I can't find where the external function comes from.

permanent link

answered 10 Nov '14, 11:02

grahamb's gravatar image

grahamb ♦
accept rate: 22%

Thanks for your quick response and useful explanation. It helps a lot and I found the definition for the external function. It is in the packet-ssl-utils.c. It just prints to the ssl debug file.

(10 Nov '14, 11:44) flora

OK, somehow I missed that in the grep output.

(11 Nov '14, 02:51) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Nov '14, 09:57

question was seen: 1,010 times

last updated: 11 Nov '14, 02:51

p​o​w​e​r​e​d by O​S​Q​A