I don’t know what is that, I found this in the openSSL source code.
Is those some sort of byte sequence? Basically I just need to convert my char * to that kind of style as a parameter.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If what you read was
then that is the same as
Further, I can tell you that
0x6Dis the ASCII code point for'm',0xE3is the ISO 8859.1 code point for'ã', and0x85is the Windows-1252 code point for'…'.But without knowing more about the context, I can’t tell you how to “convert [your] char * to that kind of style as a parameter”, except to say that you might not need to do any conversion at all! The
\xnotation allows you to write string constants containing arbitrary byte sequences into your source code. If you already have an arbitrary byte sequence in a buffer in your program, I can’t imagine your needing to back-convert it to\xnotation before feeding it to OpenSSL.