Author: qboosh                       Date: Wed Dec  6 23:29:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- provide a way to get SSL from X509_Store_Context from pure python (needed by 
current pyxmpp)

---- Files affected:
SOURCES:
   python-M2Crypto-store2ssl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-M2Crypto-store2ssl.patch
diff -u /dev/null SOURCES/python-M2Crypto-store2ssl.patch:1.1
--- /dev/null   Thu Dec  7 00:29:20 2006
+++ SOURCES/python-M2Crypto-store2ssl.patch     Thu Dec  7 00:29:15 2006
@@ -0,0 +1,13 @@
+--- m2crypto-0.17beta1/SWIG/_ssl.i.orig        2006-04-01 00:11:55.000000000 
+0200
++++ m2crypto-0.17beta1/SWIG/_ssl.i     2006-12-06 23:41:00.895934552 +0100
+@@ -699,5 +699,10 @@
+ {
+   return SSL_is_init_finished(ssl);
+ }
++
++SSL *x509_store_ctx_get_ssl(X509_STORE_CTX *ctx) {
++  return (SSL *)X509_STORE_CTX_get_app_data(ctx);
++}
++
+ %}
+ 
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to