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
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