Reputation: 1
I recently wrote a desktop app for Linux(VirtualBox) that employs openSSL. I’m just using the libraries for encrypting and decrypting files (no network) and it works great. Now, I’m trying to create a Windows version and it’s one of the most frustrating things I’ve ever done.
The online community hasn’t been much help (dozens of proposed solutions, all completely different, and none of them work for me).
Specifics:
The app compiles and runs, but when I get to this line:
EVP_EncryptInit(&ctxE, EVP_aes_256_cbc(), constKey, constIv);
It crashes with a segmentation fault.
This has been a nightmarish goose chase. Any help will be greatly appreciated. Thanks.
Upvotes: 0
Views: 504
Reputation: 12108
You did not post any code so I can only guess but if your program is working fine on Linux and exactly the same code segfaults on Windows then you should look at these most common problems:
Upvotes: 2