ssl module with C

K

Kristen J. Webb

Hi All,
I'm hoping that the answer to this question
will shed light on the Python/C interface
and make me a much better python programer.

I have a test TLS connection program in
python (very breif)

import socket, ssl
news=socket.socket()
news.connect()
new_ssl=ssl.wrap_socket()
new_ssl.read()/new_ssl.write()

I'd like to pass my new_ssl to a C .so
library so that I can SSL_read()/SSL_write.

Why? Using the python/ssl interface
gets me around so many issues with
varies Linux distros as libssl.so
is so unstandard. My idea is that
using the installed python helps
me to separte my own work-horse C
code from the native openssl library.

Can this be done? If not, the why should
make me a better python programer!

Many thanks in advance!
Kris
--
Mr. Kristen J. Webb
Teradactyl LLC.

PHONE: 1-505-242-1091
EMAIL: (e-mail address removed)
VISIT: http://www.teradactyl.com

Home of the

True incremental Backup System
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top