From f48cb8601449f6d658fd996bff9de3a1b1b70ae8 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 9 Aug 2013 09:53:25 -0700 Subject: Another TODO --- cryptography/bindings/openssl/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py index ee6e49dd..abdaef02 100644 --- a/cryptography/bindings/openssl/api.py +++ b/cryptography/bindings/openssl/api.py @@ -57,6 +57,7 @@ class API(object): if res == 0: # TODO: figure out openssl errors raise Exception + # TODO: this should depend on mode.padding self._lib.EVP_CIPHER_CTX_set_padding(ctx, 0) return ctx -- cgit v1.2.3