summaryrefslogtreecommitdiff
path: root/M2Crypto/RSA.py
diff options
context:
space:
mode:
Diffstat (limited to 'M2Crypto/RSA.py')
-rw-r--r--M2Crypto/RSA.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/M2Crypto/RSA.py b/M2Crypto/RSA.py
index 1292e1d..d6e5c64 100644
--- a/M2Crypto/RSA.py
+++ b/M2Crypto/RSA.py
@@ -7,13 +7,13 @@ Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved."""
import sys
from M2Crypto import BIO, Err, m2, util
-if util.py27plus:
- from typing import Any, AnyStr, Callable, Dict, List, IO, Optional, Tuple # noqa
+from typing import Any, AnyStr, Callable, IO, Optional, Tuple # noqa
class RSAError(Exception):
pass
+
m2.rsa_init(RSAError)
no_padding = m2.no_padding