[Botan-devel] Botan problem DLL

Jack Lloyd lloyd at randombit.net
Fri Dec 31 12:56:19 EST 2010


On Fri, Dec 31, 2010 at 03:32:37PM -0200, Henrique Pires wrote:

Wait, do you mean that you are putting code like:

>         Pipe pipe(
>                 new Chain(
>                     get_cipher("AES-128/CBC", key,iv, ENCRYPTION),
>                     new Base64_Encoder(true)
>                   )
>             );
> 
> 

In the global scope?

I would not be surprised if this causes problems with the DLL, and
also is a bad idea in terms of the library being able to destroy
global state at shutdown.

-Jack



More information about the botan-devel mailing list