Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.3
python-cryptography
add_X509_up_ref.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add_X509_up_ref.patch of Package python-cryptography
From 9813abd94e38dd8f883af07719a041295fa6b347 Mon Sep 17 00:00:00 2001 From: Paul Kehrer <paul.l.kehrer@gmail.com> Date: Wed, 29 Nov 2017 11:59:39 +0800 Subject: [PATCH] add X509_up_ref --- src/_cffi_src/openssl/x509.py | 5 +++++ 1 file changed, 5 insertions(+) --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -83,6 +83,7 @@ X509 *X509_new(void); void X509_free(X509 *); X509 *X509_dup(X509 *); int X509_cmp(const X509 *, const X509 *); +int X509_up_ref(X509 *); int X509_print_ex(BIO *, X509 *, unsigned long, unsigned long); @@ -336,6 +337,9 @@ void X509_REQ_get0_signature(const X509_ """ CUSTOMIZATIONS = """ +int X509_up_ref(X509 *x) { + return CRYPTO_add(&x->references, 1, CRYPTO_LOCK_X509); +} /* Added in 1.0.2 beta but we need it in all versions now due to the great opaquing. */ #if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor