I was wondering whether someone knows any good examples of using libssl as a programming library. Its kind of annoying only digging through the code of libssl trying to make sense of it.
You've run into the lack of documentation problem OpenSSL has. IBM DeveloperWorks does have an article about using OpenSSL.
If you want to utilize a better documented library, you can take a look at Mozilla NSS.
Just that I'm using Openssl too and think their wiki page also has some good info: http://wiki.openssl.org/index.php/Main_Page
Here is a good working example that's especially useful for iOS developers:
the remail email client uses MailCore iOS email library wrapper, which in turn uses the multi-purpose libetpan email library, which in turn uses SASL, an authentication layer, which in turn uses your beloved openSSL.
So if you're a believer in the learn-by-example methodology, the above gives you a lot to work with and practice on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With