You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like to report a debug build error, hopefully you can solve this, its a bit unhandy to develop an application when you're not able to build it for debugging,
Using cryptopp version 8.9 with Visual Studio 2022 in a MFC application.
Still strange that the same code in release is working just fine and in debug not.
Have a workaround now, in debug using plain text in release encrypted.
I experienced this issue about 8 or 10 years ago on OS X. If I recall correctly, there was a global static, and for some reason, it was triggering the unused parameter exception. I never figured out what was sideways.
Like to report a debug build error, hopefully you can solve this, its a bit unhandy to develop an application when you're not able to build it for debugging,
Using cryptopp version 8.9 with Visual Studio 2022 in a MFC application.
When I build this piece of code in debug mode:
When executing line: privateKey.GenerateRandomWithKeySize(rng, 2048); I got the following debug message:
Unhandled exception at 0x00007FF73F1F31FC An invalid parameter was passed to a function that considers invalid parameters fatal.
And Visual Studio 2022 is showing:
And stop at: __fastfail(FAST_FAIL_INVALID_ARG);.
While the same piece of code when building in release mode is working just fine.
I use the debug version of cryptlib.lib for building in debug mode and the release version for building in release mode.
The text was updated successfully, but these errors were encountered: