summaryrefslogtreecommitdiff
path: root/src/M2Crypto/callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/M2Crypto/callback.py')
-rw-r--r--src/M2Crypto/callback.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/M2Crypto/callback.py b/src/M2Crypto/callback.py
new file mode 100644
index 0000000..c6f54d8
--- /dev/null
+++ b/src/M2Crypto/callback.py
@@ -0,0 +1,11 @@
+from __future__ import absolute_import
+
+"""Deprecated, use the util module instead.
+
+Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved."""
+
+import warnings
+
+warnings.warn('Use the util module instead', DeprecationWarning)
+
+from M2Crypto.util import genparam_callback, passphrase_callback