[Botan-devel] Very strange behavior when loading a private key

Z. S. O. tiredashell at gmail.com
Sun Dec 28 19:32:47 EST 2008

Could anyone check if the following three lines of code contain any obvious
DataSource_Stream privKeyFile("PrivateKey.txt");
AutoSeeded_RNG rng;
PKCS8_PrivateKey *privateKey = PKCS8::load_key(privKeyFile, rng);

For some incomprehensible reason, loading the private key causes the rest of
my program to fail. When I comment out these lines, the program works
absolutely fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20081228/0019bb2e/attachment.html>

More information about the botan-devel mailing list