You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
--- src/_cffi_src/openssl/fips.py 2021-08-25 01:01:04.000000000 +0800
|
|
+++ src/_cffi_src/openssl/fips.py 2024-06-23 11:54:00.000000000 +0800
|
|
@@ -22,6 +22,8 @@
|
|
int (*FIPS_mode_set)(int) = NULL;
|
|
int (*FIPS_mode)(void) = NULL;
|
|
#else
|
|
-static const long Cryptography_HAS_FIPS = 1;
|
|
+static const long Cryptography_HAS_FIPS = 0;
|
|
+int (*FIPS_mode_set)(int) = NULL;
|
|
+int (*FIPS_mode)(void) = NULL;
|
|
#endif
|
|
"""
|
|
|
|
--- src/_cffi_src/openssl/err.py 2021-08-25 01:01:04.000000000 +0800
|
|
+++ src/_cffi_src/openssl/err.py 2024-06-23 11:54:39.000000000 +0800
|
|
@@ -39,7 +39,6 @@
|
|
void ERR_put_error(int, int, int, const char *, int);
|
|
|
|
int ERR_GET_LIB(unsigned long);
|
|
-int ERR_GET_FUNC(unsigned long);
|
|
int ERR_GET_REASON(unsigned long);
|
|
|
|
"""
|
|
|
|
--- src/cryptography/hazmat/bindings/openssl/binding.py 2021-08-25 01:01:04.000000000 +0800
|
|
+++ src/cryptography/hazmat/bindings/openssl/binding.py 2024-06-23 11:54:44.000000000 +0800
|
|
@@ -43,10 +43,9 @@
|
|
break
|
|
|
|
err_lib = lib.ERR_GET_LIB(code)
|
|
- err_func = lib.ERR_GET_FUNC(code)
|
|
err_reason = lib.ERR_GET_REASON(code)
|
|
|
|
- errors.append(_OpenSSLError(code, err_lib, err_func, err_reason))
|
|
+ errors.append(_OpenSSLError(code, err_lib, err_reason))
|
|
|
|
return errors
|
|
|