gcrypt-example
gcrypt-example copied to clipboard
gcrypt_init() error handling
Hi,
In gcrypt_init() I think all of the "err &=" constructs should be "err |=" instead. err starts off as 0 and will remain 0 if an error occurs or not. Thanks for the example code. It got me started with the libgcrypt library coding.
Thanks for pointing this out! It should be fixed by commit 7008b9.