commit | 5af32d0d55f5d385e5592e00a2e574a43f0b74fb | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Sat Sep 24 01:52:21 2016 -0400 |
committer | Hynek Schlawack <hs@ox.cx> | Sat Sep 24 07:52:21 2016 +0200 |
tree | 9a2911b0da38417eaf374cf70726bf20646c74d2 | |
parent | 9f9113a7bb736a835f978d27e95603c8d6f52b7c [diff] [blame] |
Test on OpenSSL 1.1.0 with travis. Fixes #524 (#526)
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index d811199..797dfdc 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -820,6 +820,8 @@ def __init__(self): req = _lib.X509_REQ_new() self._req = _ffi.gc(req, _lib.X509_REQ_free) + # Default to version 0. + self.set_version(0) def set_pubkey(self, pkey): """