[Botan-devel] Tutorial compile error

Kang Chung the_logician at spray.se
Thu Dec 1 12:03:04 EST 2005


Hello

I'm trying to follow the tutorial document to understand how the API works.
But i've come across a compilation error when running the code in section 3.1.3.

SecureVector<byte> key_and_IV = s2k->derive_key(32, passphrase);

The error message is:
conversion from 'Botan::OctetString' to non-scalar type 'Botan::SecureVector<Botan::byte>' requested

Am i doing something wrong or is there a misprint in the tutorial?

Thanks

/Kang Chung


More information about the botan-devel mailing list