OpenSSL linking?

Hello people,

I decited to open a topic since I coudn't get help from Google.

Well, I'm really new to OpenSSL and don't know much about it.
I try to download my E-Mails from a POP3-Server (e.g. gmail) but don't know how to link OpenSSL libaries.
I downloaded OpenSSL from: http://www.openssl.org/source/

How I said, I'm really new to OpenSSL, would be happy if you can help me.

==================
Information:
OS: MS Windows 7
IDE: Code::Blocks
==================

Thanks in advance.

Regards,
Kmitska
Considering the name of the directory, you will probably have to compile OpenSSL first. Considering you're using Windows, that's probably gone be a huge pain in your rectal area.

You should open the archive and there should be a file named INSTALL or INSTALL.txt or something the like, follow the instructions there. If it says anything like " run install.sh" you will probably need MSYS or Cygwin, and even then it's not a given that it will work.

Probably the best thing that could happen to you would be that it brings windows specific makefiles or uses cmake or something like that.
Last edited on
It says that my Windows is not compatible, is there an other way to make SSL-Connections without OpenSSL? I think that's kind of "impossible" on Windows.
Who says your windows is not compatible? AFAIK OpenSSL should work on Windows 7.
Last edited on
If I click on insall.exe it appears...
I have 64 Bit, is that maybe the problem?
Last edited on
Install.exe? Where did you suddenly get that from? I thought you were building from source?
I just downloaded the latest package from: http://www.openssl.org/source/
And there is "install.exe"
Last edited on
is there an other way to make SSL-Connections without OpenSSL?


In windows, yes, you don't really need any SSL library as windows already has its own implementation. But you could use OpenSSL in windows if you really want (you must compile openssl first).
Oh, can you help me?
I really don't know much about SSL, I just bought a book which is about Linux and it's showing OpenSSL.

But if I can do it with Windows functions, it'd be much easier.
But if I can do it with Windows functions, it'd be much easier.


Don't count on it, unless if you're already familiar with the Windows API.
All you need to know is POP3 protocol and basic knowledge of windows sockets.
There are many libraries out there, one very simple to use (with full working gmail example) is Chilkat. Unfortunately, the component is NOT free (30 day trial):
http://www.chilkatsoft.com/
Well, I'm writing an own E-Mail Client and don't want to pay for anything.
I think I should install OpenSSL and work with it, so how to continue now?
If you don't know how to compile OpenSSl there are binaries already built by others for you. Choose the version that match your compiler.
http://slproweb.com/products/Win32OpenSSL.html

If you stillwant to compile OpenSSL yourself you need MSYS and ActivePerl installed first (I know, is a pain, but that is ...)
http://stackoverflow.com/questions/9379363/how-to-build-openssl-with-mingw-in-windows
Last edited on
I downloaded http://slproweb.com/products/Win32OpenSSL.html and it says I have to donate, weird...

And on this forum, I think he explains it for Perl, even there stands "MinGW", should I isntall perl and excute it?
(It doesn't work for me: "Can't open perl script")
Last edited on
Install this:
http://downloads.activestate.com/ActivePerl/releases/5.14.2.1402/ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi

Click next -> next, you know ... Very important, add Perl to PATH and associate .pl files with ActivePerl (check options in installer), then restart.

Download and install MSYS:
http://ignum.dl.sourceforge.net/project/mingw/MSYS/Base/msys-core/msys-1.0.10/MSYS-1.0.10.exe

I suppose you already have MinGW installed.


Please read INSTALL.w32 and install.,w64 from yout openssl root directory, it is explained there how to build.
Last edited on
And what about the Windows-functions?
I think I should use them.
Topic archived. No new replies allowed.