Skip to content

Commit

Permalink
oops we shouldn't upref this.
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Nov 29, 2017
1 parent b95817a commit eae36b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/OpenSSL/crypto.py
Expand Up @@ -3073,8 +3073,6 @@ def load_pkcs12(buffer, passphrase=None):
pycacerts = []
for i in range(_lib.sk_X509_num(cacerts)):
x509 = _lib.sk_X509_value(cacerts, i)
res = _lib.X509_up_ref(x509)
_openssl_assert(res == 1)
pycacert = X509._from_raw_x509_ptr(x509)
pycacerts.append(pycacert)
if not pycacerts:
Expand Down

0 comments on commit eae36b8

Please sign in to comment.