summaryrefslogtreecommitdiff
path: root/M2Crypto/DSA.py
diff options
context:
space:
mode:
Diffstat (limited to 'M2Crypto/DSA.py')
-rw-r--r--M2Crypto/DSA.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/M2Crypto/DSA.py b/M2Crypto/DSA.py
index 224848d..d4f2073 100644
--- a/M2Crypto/DSA.py
+++ b/M2Crypto/DSA.py
@@ -10,13 +10,13 @@ from __future__ import absolute_import, print_function
"""
from M2Crypto import BIO, m2, util
-if util.py27plus:
- from typing import AnyStr, Callable, Tuple # noqa
+from typing import Any, AnyStr, Callable, Tuple # noqa
class DSAError(Exception):
pass
+
m2.dsa_init(DSAError)