Hi Paul,

I'm using (and have used from some time) a windows build of OpenSSL from
here:

http://www.slproweb.com/products/Win32OpenSSL.html

The ultimate object is to wrap some minimal subset of SSL (and thus OpenSSL
since it's the major open source version) in Eiffel.  The nice - but obscure
- OO language that we use in house (where I work).  We're not a software
firm and we only write our software to support in-house business functions.

Eiffel is obscure and thus for every, say, nice open source package out
there we have to wrap it ourselves - and by hand as it were.  E.g. (newer
packages): Twisted, Spring Framework, etc.

A colleague started me on this task.  He first pointed me to
https://launchpad.net/pyopenssl .  This provides a python interface for SSL
(and uses OpenSSL).  He thought this might be a good example of how to wrap
OpenSSL.

As turns out what the pyOpenSSL project consists of is rather a large amount
of C code (that returns types such as pyObject) and compiles into 3 (I
think?) .pyd files where are python DLLs.  You put this into your python
installation etc.

The C code under pyOpenSSL doesn't seem (to me) the most expeditious route
to where I want to go.  I simply (or not so simply) want to wrap - again -
some minimal subset of SSL in Eiffel.

So I then set off in search of a hopefully small amount of C code that could
provide me with a better sense of the SSL api.

I'm not totally clueless here since I've written a number of TCP/IP socket
based apps.  And, very long ago, a portion of a TCP/IP stack for the
Macintosh.

Oh - and so I haven't built OpenSSL from scratch.  I seek to use OpenSSL -
if I need to dig into it, I'll do so when that time comes.

I did look in my (windows) installation of OpenSSL but didn't (to the extent
that I looked) find example code.  Maybe I need to go back to the original
tarball and look there.

But given that I've been at this maybe 2 wks part-time, it's not like I've
yet had a chance to try every combination that might have occurred to me.  I
don't mind stumbling around in the dark at some initial stage.  I've done it
many times before - and productively.


Paul Allen-4 wrote:
> 
> On Mon, 2009-06-15 at 18:07 -0700, patfla wrote:
>> Hmm, Download source code (at the ibm developerworks page) is a dead
>> link. 
>> You can still read the article of course.
>> 
>> Found the author (the author is no longer at the url that the
>> developerworks
>> page has) and posted to a blog that he keeps.
> 
> You've been on this quest for most of the day, but have yet to mention
> whether you've looked at the OpenSSL source distribution.  I'm left to
> presume that you actually have not looked at the source tarball, and 
> am somewhat puzzled as to why that might be.
> 
> But, forget my puzzlement.  Grab a copy of the source from the OpenSSL
> web site and have a look in the apps and demos subdirectories.  You
> might find some of what you need there.
> 
> Paul Allen
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/example-code-for-OpenSSL-tp24040969p24047504.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to