David Schwartz wrote:
"09dirkd+sRoXWShF8ctVVb4B1PAFTOBEa8diickehnAyEq6KhzLWpQqhqCnylETw\r\n"
"Drys2uVaAzmRhS6tGJ2fdwPnlSLJrQbHuP938BkyxNhdYN8drfqb\r\n";
You appear to have an extra ";" here ---------------------------^
But that should give you a compilation error.
"-----END RSA PRIVATE KEY-----\r\n";
That won't give you a compilation error. But it will cause things not to
work. Consider:
#include <stdio.h>
int main(void)
{
char *string="This is one line.\r\n";
"This is another.\r\n";
printf("%s", string);
}
Will produce:
This is one line.
The ';' after the end of the first line ends the statement. The second
string becomes its own statement, which has no effect.
Quite right. In my test program I defined the key string at file scope,
and so it does give a compilation error. But if the OP had his string
local to a function, it would explain what he was seeing.
Tom
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]