Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cryptography
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
cryptography
Commits
751a45a046c7
Commit
751a45a046c7
authored
4 years ago
by
Alex Gaynor
Browse files
Options
Downloads
Patches
Plain Diff
Delete several unused bindings (#5331)
parent
7d831f607206
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/_cffi_src/openssl/crypto.py
+0
-2
0 additions, 2 deletions
src/_cffi_src/openssl/crypto.py
src/_cffi_src/openssl/pkcs7.py
+0
-16
0 additions, 16 deletions
src/_cffi_src/openssl/pkcs7.py
src/_cffi_src/openssl/ssl.py
+0
-16
0 additions, 16 deletions
src/_cffi_src/openssl/ssl.py
with
0 additions
and
34 deletions
src/_cffi_src/openssl/crypto.py
+
0
−
2
View file @
751a45a0
...
...
@@ -30,8 +30,6 @@
"""
FUNCTIONS
=
"""
int CRYPTO_mem_ctrl(int);
void OPENSSL_cleanup(void);
/* as of 1.1.0 OpenSSL does its own locking *angelic chorus*. This function
...
...
This diff is collapsed.
Click to expand it.
src/_cffi_src/openssl/pkcs7.py
+
0
−
16
View file @
751a45a0
...
...
@@ -54,8 +54,5 @@
"""
FUNCTIONS
=
"""
PKCS7 *SMIME_read_PKCS7(BIO *, BIO **);
int SMIME_write_PKCS7(BIO *, PKCS7 *, BIO *, int);
void PKCS7_free(PKCS7 *);
...
...
@@ -60,18 +57,5 @@
void PKCS7_free(PKCS7 *);
PKCS7 *PKCS7_sign(X509 *, EVP_PKEY *, Cryptography_STACK_OF_X509 *,
BIO *, int);
int PKCS7_verify(PKCS7 *, Cryptography_STACK_OF_X509 *, X509_STORE *, BIO *,
BIO *, int);
Cryptography_STACK_OF_X509 *PKCS7_get0_signers(PKCS7 *,
Cryptography_STACK_OF_X509 *,
int);
PKCS7 *PKCS7_encrypt(Cryptography_STACK_OF_X509 *, BIO *,
const EVP_CIPHER *, int);
int PKCS7_decrypt(PKCS7 *, EVP_PKEY *, X509 *, BIO *, int);
BIO *PKCS7_dataInit(PKCS7 *, BIO *);
int PKCS7_type_is_encrypted(PKCS7 *);
int PKCS7_type_is_signed(PKCS7 *);
int PKCS7_type_is_enveloped(PKCS7 *);
...
...
This diff is collapsed.
Click to expand it.
src/_cffi_src/openssl/ssl.py
+
0
−
16
View file @
751a45a0
...
...
@@ -23,7 +23,6 @@
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_CB;
static const long Cryptography_HAS_STATUS_REQ_OCSP_RESP;
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_TYPE;
static const long Cryptography_HAS_SSL_CTX_SET_CLIENT_CERT_ENGINE;
static const long Cryptography_HAS_SSL_CTX_CLEAR_OPTIONS;
static const long Cryptography_HAS_DTLS;
static const long Cryptography_HAS_SIGALGS;
...
...
@@ -331,10 +330,6 @@
int SSL_SESSION_has_ticket(const SSL_SESSION *);
long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *);
/* not a macro, but older OpenSSLs don
'
t pass the args as const */
char *SSL_CIPHER_description(const SSL_CIPHER *, char *, int);
int SSL_SESSION_print(BIO *, const SSL_SESSION *);
/* not macros, but will be conditionally bound so can
'
t live in functions */
const COMP_METHOD *SSL_get_current_compression(SSL *);
const COMP_METHOD *SSL_get_current_expansion(SSL *);
...
...
@@ -468,9 +463,6 @@
void SSL_CTX_set_cert_cb(SSL_CTX *, int (*)(SSL *, void *), void *);
void SSL_set_cert_cb(SSL *, int (*)(SSL *, void *), void *);
/* Added in 1.0.2 */
const SSL_METHOD *SSL_CTX_get_ssl_method(SSL_CTX *);
int SSL_SESSION_set1_id_context(SSL_SESSION *, const unsigned char *,
unsigned int);
/* Added in 1.1.0 for the great opaquing of structs */
...
...
@@ -541,12 +533,6 @@
"""
CUSTOMIZATIONS
=
"""
#if CRYPTOGRAPHY_IS_LIBRESSL
const SSL_METHOD *SSL_CTX_get_ssl_method(SSL_CTX *ctx) {
return ctx->method;
}
#endif
#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110
static const long Cryptography_HAS_VERIFIED_CHAIN = 0;
Cryptography_STACK_OF_X509 *(*SSL_get0_verified_chain)(const SSL *) = NULL;
...
...
@@ -668,8 +654,6 @@
static const long Cryptography_HAS_COMPRESSION = 1;
#endif
static const long Cryptography_HAS_SSL_CTX_SET_CLIENT_CERT_ENGINE = 1;
static const long Cryptography_HAS_SSL_CTX_CLEAR_OPTIONS = 1;
/* in OpenSSL 1.1.0 the SSL_ST values were renamed to TLS_ST and several were
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment