Download src/php/php-src/ext/openssl/config.w32 from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/config.w32
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/openssl/config.w32
-
curl -L -o config.w32 https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/openssl/config.w32
1.25 kB
| // vim:ft=javascript | |
| ARG_WITH("openssl", "OpenSSL support", "no,shared"); | |
| ARG_WITH("openssl-legacy-provider", "OPENSSL: Load legacy algorithm provider in addition to default provider", "no"); | |
| ARG_WITH("openssl-argon2", "OPENSSL: Enable argon2 password hashing (requires OpenSSL >= 3.2)", "no"); | |
| if (PHP_OPENSSL != "no") { | |
| var ret = SETUP_OPENSSL("openssl", PHP_OPENSSL); | |
| if (ret >= 2) { | |
| EXTENSION("openssl", "openssl.c openssl_pwhash.c openssl_backend_common.c openssl_backend_v1.c openssl_backend_v3.c xp_ssl.c"); | |
| AC_DEFINE("HAVE_OPENSSL_EXT", 1, "Define to 1 if the PHP extension 'openssl' is available."); | |
| if (PHP_OPENSSL_LEGACY_PROVIDER != "no") { | |
| AC_DEFINE("LOAD_OPENSSL_LEGACY_PROVIDER", 1, "Define to 1 to load the OpenSSL legacy algorithm provider in addition to the default provider."); | |
| } | |
| if (PHP_OPENSSL_ARGON2 != "no") { | |
| if (PHP_ZTS != "no") { | |
| WARNING("OpenSSL argon2 hashing not supported in ZTS mode for now"); | |
| } else if (!CHECK_FUNC_IN_HEADER("openssl/thread.h", "OSSL_set_max_threads", PHP_PHP_BUILD + "\\include")) { | |
| WARNING("OpenSSL argon2 hashing requires OpenSSL >= 3.2"); | |
| } else { | |
| AC_DEFINE("HAVE_OPENSSL_ARGON2", 1, "Define to 1 to enable OpenSSL argon2 password hashing."); | |
| } | |
| } | |
| } | |
| } | |