Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization of OpenSSL #5

Closed
nmoinvaz opened this issue Feb 19, 2014 · 5 comments
Closed

Initialization of OpenSSL #5

nmoinvaz opened this issue Feb 19, 2014 · 5 comments

Comments

@nmoinvaz
Copy link

When trying to compile with OpenSSL on MSVC2008, I ran into an issue where the OpenSSL libraries were not initialized prior to calling PEM_read_RSAPrivateKey.

OpenSSL_add_all_algorithms();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();

Also take a look at this StackOverflow article:
http://stackoverflow.com/questions/16310457/failed-to-read-private-key-from-pem-file-in-c

@nmoinvaz
Copy link
Author

The reason why I am recompiling in MSVC2008 was because the only binaries I could find crashed on Windows when I tried to launch them.

@kylehuff
Copy link
Owner

Commit in-bound!

I am curious as to why the binaries would not run for you. Which version of Windows? And when/where was it crashing (if you can tell)? Was there any meaningful output?

@nmoinvaz
Copy link
Author

The first time I compiled it using MSVC2008 it didn't crash, so I didn't investigate any further. It had only given a standard Windows crash dialog which are usually worthless. I tried two executables, buildcrx.exe that I think was available through your website and buildcrx-v1.0.exe which was available through the Google repository which appears to be from 2011 -- and both crashed. I am on Windows 7 SP1 64-bit.

@kylehuff
Copy link
Owner

Okay, yeah, thanks for pointing out my failure to update the website...

There are some issues with that version, and in the releases on this repo there are binaries for v0.2. I'm not saying v0.2 would behave any different, but at least I can point out that you are using an dated release.

Also, the version scheme at google code is wrong (besides out-dated). If the project management, repository and issues support were more like github, they would be current and correct! (in all truthfulness, I dislike code.google.com so much I forgot it was even out there.)

I'll make a note to update that project page as well.

@nmoinvaz
Copy link
Author

I would just recommend nuking the Google code project that way people don't get confused. Most people use github.com for social coding anyways.

Nice work btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants