[Botan-devel] Troubleshooting LibraryInitializer exception
lloyd at randombit.net
Mon Jun 26 18:29:44 EDT 2006
Did you build the self-tests (`make check`)? Those will also invoke
the self-tests when it starts up, so if it's a problem in the library,
the self-test run will fail immediately (commenting out the block you
quoted below and rebuilding will skip the basic startup self-test and
allow the full test set to run, which will hopefully narrow down the
problem to a specific algorithm).
Something to try that is quick and eliminates a lot of possibilities
is to rebuild the entire library with optimizations disabled. If the
tests pass then, things lean towards an optimizer bug.
Anything unusual about your hardware/software platform? Processor pack
for VS, alternate compiler, 64-bit, anything of that nature?
On Mon, Jun 26, 2006 at 04:17:09PM -0600, Cory Whitesell wrote:
> I am using Botan for the ANSI-X9.19 MACing algorithm in a VC .NET 2003
> project. The library compiles just file, but at runtime, a exception is
> thrown when initializing the library. The exception is thrown here in
> init.cpp during initialization.
> throw Self_Test_Failure("FIPS-140 startup tests");
> I am not passing any parameters to the LibraryInitializer constructor.
> How should I go about troubleshooting the cause of this problem? Botan
> version is 1.4.12
> botan-devel mailing list
> botan-devel at randombit.net
More information about the botan-devel