aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsappho <sappho@sappho.io>2023-07-14 07:19:14 -0400
committerGitHub <noreply@github.com>2023-07-14 07:19:14 -0400
commit7b92e4acf6dea29348efeb4c0cc89e3071aee56e (patch)
tree069032a9c6eb3ccc8f0089d8bbbb9ffe8ccacdd3
parent581d1e994692f9ce4e5d8071e8edba1e71412bac (diff)
ci fixes and repo cleanup + small tweaks and first release (#2)v2.0.0-beta
* Update docker_build.yml * Update docker_build.yml * Update docker_build.yml * attempt to lint * use tags * Update docker_build.yml * reorganize repo * correct typo with build dir * hacky chmod/chown for docker builds * more hacks for chmod * try to hack docker to work again * fix invalid syntax * remove extension in repo, remove spaces, fixup gitignore * twiddle around with making releases with commits * more ci testing to use non deprecated actions * Update docker_build.yml * more ci twiddling (ugh) * more lint and run the actual job now * lint more and use deb slim * autogen rel notes (?) * fixup bad quotes * sigh. fix quotes again * save beta autotagging for a later date * gitignore * fix so users don't use removed hash funcs * add max dbg info to ext * update versionings
-rw-r--r--.github/workflows/docker_build.yml93
-rw-r--r--.gitignore2
-rw-r--r--.hgignore1
-rw-r--r--ci/_docker_script.sh45
-rw-r--r--ci/build.sh11
-rw-r--r--extension/Makefile (renamed from Makefile)8
-rw-r--r--extension/curl/curl.h (renamed from curl/curl.h)0
-rw-r--r--extension/curl/curlbuild.h (renamed from curl/curlbuild.h)0
-rw-r--r--extension/curl/curlrules.h (renamed from curl/curlrules.h)0
-rw-r--r--extension/curl/curlver.h (renamed from curl/curlver.h)0
-rw-r--r--extension/curl/easy.h (renamed from curl/easy.h)0
-rw-r--r--extension/curl/mprintf.h (renamed from curl/mprintf.h)0
-rw-r--r--extension/curl/multi.h (renamed from curl/multi.h)0
-rw-r--r--extension/curl/stdcheaders.h (renamed from curl/stdcheaders.h)0
-rw-r--r--extension/curl/typecheck-gcc.h (renamed from curl/typecheck-gcc.h)0
-rw-r--r--extension/curlmanager.cpp (renamed from curlmanager.cpp)0
-rw-r--r--extension/curlmanager.h (renamed from curlmanager.h)0
-rw-r--r--extension/curlthread.cpp (renamed from curlthread.cpp)0
-rw-r--r--extension/curlthread.h (renamed from curlthread.h)0
-rw-r--r--extension/define.h (renamed from define.h)0
-rw-r--r--extension/extension.cpp (renamed from extension.cpp)0
-rw-r--r--extension/extension.h (renamed from extension.h)0
-rw-r--r--extension/lib/libbrotlicommon-static.a (renamed from lib/libbrotlicommon-static.a)bin134126 -> 134126 bytes
-rw-r--r--extension/lib/libbrotlidec-static.a (renamed from lib/libbrotlidec-static.a)bin54598 -> 54598 bytes
-rw-r--r--extension/lib/libbrotlienc-static.a (renamed from lib/libbrotlienc-static.a)bin664092 -> 664092 bytes
-rw-r--r--extension/lib/libcrypto.a (renamed from lib/libcrypto.a)bin7995350 -> 7995350 bytes
-rw-r--r--extension/lib/libcurl.a (renamed from lib/libcurl.a)bin1279854 -> 1279854 bytes
-rw-r--r--extension/lib/libcurl.dll.a (renamed from lib/libcurl.dll.a)bin15582 -> 15582 bytes
-rw-r--r--extension/lib/libcurl.lib (renamed from lib/libcurl.lib)bin14929570 -> 14929570 bytes
-rw-r--r--extension/lib/libcurld.lib (renamed from lib/libcurld.lib)bin7805426 -> 7805426 bytes
-rw-r--r--extension/lib/libcurld.lib_unusable (renamed from lib/libcurld.lib_unusable)bin7805426 -> 7805426 bytes
-rw-r--r--extension/lib/libgsasl.a (renamed from lib/libgsasl.a)bin198440 -> 198440 bytes
-rw-r--r--extension/lib/libnghttp2.a (renamed from lib/libnghttp2.a)bin302870 -> 302870 bytes
-rw-r--r--extension/lib/libngtcp2.a (renamed from lib/libngtcp2.a)bin370742 -> 370742 bytes
-rw-r--r--extension/lib/libssh2.a (renamed from lib/libssh2.a)bin405950 -> 405950 bytes
-rw-r--r--extension/lib/libssl.a (renamed from lib/libssl.a)bin1049096 -> 1049096 bytes
-rw-r--r--extension/lib/libz.a (renamed from lib/libz.a)bin134028 -> 134028 bytes
-rw-r--r--extension/lib/libzstd.a (renamed from lib/libzstd.a)bin808002 -> 808002 bytes
-rw-r--r--extension/natives.cpp (renamed from natives.cpp)10
-rw-r--r--extension/openssl/__DECC_INCLUDE_EPILOGUE.H (renamed from openssl/__DECC_INCLUDE_EPILOGUE.H)0
-rw-r--r--extension/openssl/__DECC_INCLUDE_PROLOGUE.H (renamed from openssl/__DECC_INCLUDE_PROLOGUE.H)0
-rw-r--r--extension/openssl/aes.h (renamed from openssl/aes.h)0
-rw-r--r--extension/openssl/asn1.h (renamed from openssl/asn1.h)0
-rw-r--r--extension/openssl/asn1.h.in (renamed from openssl/asn1.h.in)0
-rw-r--r--extension/openssl/asn1_mac.h (renamed from openssl/asn1_mac.h)0
-rw-r--r--extension/openssl/asn1err.h (renamed from openssl/asn1err.h)0
-rw-r--r--extension/openssl/asn1t.h (renamed from openssl/asn1t.h)0
-rw-r--r--extension/openssl/asn1t.h.in (renamed from openssl/asn1t.h.in)0
-rw-r--r--extension/openssl/async.h (renamed from openssl/async.h)0
-rw-r--r--extension/openssl/asyncerr.h (renamed from openssl/asyncerr.h)0
-rw-r--r--extension/openssl/bio.h (renamed from openssl/bio.h)0
-rw-r--r--extension/openssl/bio.h.in (renamed from openssl/bio.h.in)0
-rw-r--r--extension/openssl/bioerr.h (renamed from openssl/bioerr.h)0
-rw-r--r--extension/openssl/blowfish.h (renamed from openssl/blowfish.h)0
-rw-r--r--extension/openssl/bn.h (renamed from openssl/bn.h)0
-rw-r--r--extension/openssl/bnerr.h (renamed from openssl/bnerr.h)0
-rw-r--r--extension/openssl/buffer.h (renamed from openssl/buffer.h)0
-rw-r--r--extension/openssl/buffererr.h (renamed from openssl/buffererr.h)0
-rw-r--r--extension/openssl/camellia.h (renamed from openssl/camellia.h)0
-rw-r--r--extension/openssl/cast.h (renamed from openssl/cast.h)0
-rw-r--r--extension/openssl/cmac.h (renamed from openssl/cmac.h)0
-rw-r--r--extension/openssl/cmp.h (renamed from openssl/cmp.h)0
-rw-r--r--extension/openssl/cmp.h.in (renamed from openssl/cmp.h.in)0
-rw-r--r--extension/openssl/cmp_util.h (renamed from openssl/cmp_util.h)0
-rw-r--r--extension/openssl/cmperr.h (renamed from openssl/cmperr.h)0
-rw-r--r--extension/openssl/cms.h (renamed from openssl/cms.h)0
-rw-r--r--extension/openssl/cms.h.in (renamed from openssl/cms.h.in)0
-rw-r--r--extension/openssl/cmserr.h (renamed from openssl/cmserr.h)0
-rw-r--r--extension/openssl/comp.h (renamed from openssl/comp.h)0
-rw-r--r--extension/openssl/comperr.h (renamed from openssl/comperr.h)0
-rw-r--r--extension/openssl/conf.h (renamed from openssl/conf.h)0
-rw-r--r--extension/openssl/conf.h.in (renamed from openssl/conf.h.in)0
-rw-r--r--extension/openssl/conf_api.h (renamed from openssl/conf_api.h)0
-rw-r--r--extension/openssl/conferr.h (renamed from openssl/conferr.h)0
-rw-r--r--extension/openssl/configuration.h (renamed from openssl/configuration.h)0
-rw-r--r--extension/openssl/configuration.h.in (renamed from openssl/configuration.h.in)0
-rw-r--r--extension/openssl/conftypes.h (renamed from openssl/conftypes.h)0
-rw-r--r--extension/openssl/core.h (renamed from openssl/core.h)0
-rw-r--r--extension/openssl/core_dispatch.h (renamed from openssl/core_dispatch.h)0
-rw-r--r--extension/openssl/core_names.h (renamed from openssl/core_names.h)0
-rw-r--r--extension/openssl/core_object.h (renamed from openssl/core_object.h)0
-rw-r--r--extension/openssl/crmf.h (renamed from openssl/crmf.h)0
-rw-r--r--extension/openssl/crmf.h.in (renamed from openssl/crmf.h.in)0
-rw-r--r--extension/openssl/crmferr.h (renamed from openssl/crmferr.h)0
-rw-r--r--extension/openssl/crypto.h (renamed from openssl/crypto.h)0
-rw-r--r--extension/openssl/crypto.h.in (renamed from openssl/crypto.h.in)0
-rw-r--r--extension/openssl/cryptoerr.h (renamed from openssl/cryptoerr.h)0
-rw-r--r--extension/openssl/cryptoerr_legacy.h (renamed from openssl/cryptoerr_legacy.h)0
-rw-r--r--extension/openssl/ct.h (renamed from openssl/ct.h)0
-rw-r--r--extension/openssl/ct.h.in (renamed from openssl/ct.h.in)0
-rw-r--r--extension/openssl/cterr.h (renamed from openssl/cterr.h)0
-rw-r--r--extension/openssl/decoder.h (renamed from openssl/decoder.h)0
-rw-r--r--extension/openssl/decodererr.h (renamed from openssl/decodererr.h)0
-rw-r--r--extension/openssl/des.h (renamed from openssl/des.h)0
-rw-r--r--extension/openssl/dh.h (renamed from openssl/dh.h)0
-rw-r--r--extension/openssl/dherr.h (renamed from openssl/dherr.h)0
-rw-r--r--extension/openssl/dsa.h (renamed from openssl/dsa.h)0
-rw-r--r--extension/openssl/dsaerr.h (renamed from openssl/dsaerr.h)0
-rw-r--r--extension/openssl/dtls1.h (renamed from openssl/dtls1.h)0
-rw-r--r--extension/openssl/e_os2.h (renamed from openssl/e_os2.h)0
-rw-r--r--extension/openssl/ebcdic.h (renamed from openssl/ebcdic.h)0
-rw-r--r--extension/openssl/ec.h (renamed from openssl/ec.h)0
-rw-r--r--extension/openssl/ecdh.h (renamed from openssl/ecdh.h)0
-rw-r--r--extension/openssl/ecdsa.h (renamed from openssl/ecdsa.h)0
-rw-r--r--extension/openssl/ecerr.h (renamed from openssl/ecerr.h)0
-rw-r--r--extension/openssl/encoder.h (renamed from openssl/encoder.h)0
-rw-r--r--extension/openssl/encodererr.h (renamed from openssl/encodererr.h)0
-rw-r--r--extension/openssl/engine.h (renamed from openssl/engine.h)0
-rw-r--r--extension/openssl/engineerr.h (renamed from openssl/engineerr.h)0
-rw-r--r--extension/openssl/err.h (renamed from openssl/err.h)0
-rw-r--r--extension/openssl/err.h.in (renamed from openssl/err.h.in)0
-rw-r--r--extension/openssl/ess.h (renamed from openssl/ess.h)0
-rw-r--r--extension/openssl/ess.h.in (renamed from openssl/ess.h.in)0
-rw-r--r--extension/openssl/esserr.h (renamed from openssl/esserr.h)0
-rw-r--r--extension/openssl/evp.h (renamed from openssl/evp.h)0
-rw-r--r--extension/openssl/evperr.h (renamed from openssl/evperr.h)0
-rw-r--r--extension/openssl/fips_names.h (renamed from openssl/fips_names.h)0
-rw-r--r--extension/openssl/fipskey.h (renamed from openssl/fipskey.h)0
-rw-r--r--extension/openssl/fipskey.h.in (renamed from openssl/fipskey.h.in)0
-rw-r--r--extension/openssl/hmac.h (renamed from openssl/hmac.h)0
-rw-r--r--extension/openssl/http.h (renamed from openssl/http.h)0
-rw-r--r--extension/openssl/httperr.h (renamed from openssl/httperr.h)0
-rw-r--r--extension/openssl/idea.h (renamed from openssl/idea.h)0
-rw-r--r--extension/openssl/kdf.h (renamed from openssl/kdf.h)0
-rw-r--r--extension/openssl/kdferr.h (renamed from openssl/kdferr.h)0
-rw-r--r--extension/openssl/lhash.h (renamed from openssl/lhash.h)0
-rw-r--r--extension/openssl/lhash.h.in (renamed from openssl/lhash.h.in)0
-rw-r--r--extension/openssl/macros.h (renamed from openssl/macros.h)0
-rw-r--r--extension/openssl/md2.h (renamed from openssl/md2.h)0
-rw-r--r--extension/openssl/md4.h (renamed from openssl/md4.h)0
-rw-r--r--extension/openssl/md5.h (renamed from openssl/md5.h)0
-rw-r--r--extension/openssl/mdc2.h (renamed from openssl/mdc2.h)0
-rw-r--r--extension/openssl/modes.h (renamed from openssl/modes.h)0
-rw-r--r--extension/openssl/obj_mac.h (renamed from openssl/obj_mac.h)0
-rw-r--r--extension/openssl/objects.h (renamed from openssl/objects.h)0
-rw-r--r--extension/openssl/objectserr.h (renamed from openssl/objectserr.h)0
-rw-r--r--extension/openssl/ocsp.h (renamed from openssl/ocsp.h)0
-rw-r--r--extension/openssl/ocsp.h.in (renamed from openssl/ocsp.h.in)0
-rw-r--r--extension/openssl/ocsperr.h (renamed from openssl/ocsperr.h)0
-rw-r--r--extension/openssl/opensslconf.h (renamed from openssl/opensslconf.h)0
-rw-r--r--extension/openssl/opensslv.h (renamed from openssl/opensslv.h)0
-rw-r--r--extension/openssl/opensslv.h.in (renamed from openssl/opensslv.h.in)0
-rw-r--r--extension/openssl/ossl_typ.h (renamed from openssl/ossl_typ.h)0
-rw-r--r--extension/openssl/param_build.h (renamed from openssl/param_build.h)0
-rw-r--r--extension/openssl/params.h (renamed from openssl/params.h)0
-rw-r--r--extension/openssl/pem.h (renamed from openssl/pem.h)0
-rw-r--r--extension/openssl/pem2.h (renamed from openssl/pem2.h)0
-rw-r--r--extension/openssl/pemerr.h (renamed from openssl/pemerr.h)0
-rw-r--r--extension/openssl/pkcs12.h (renamed from openssl/pkcs12.h)0
-rw-r--r--extension/openssl/pkcs12.h.in (renamed from openssl/pkcs12.h.in)0
-rw-r--r--extension/openssl/pkcs12err.h (renamed from openssl/pkcs12err.h)0
-rw-r--r--extension/openssl/pkcs7.h (renamed from openssl/pkcs7.h)0
-rw-r--r--extension/openssl/pkcs7.h.in (renamed from openssl/pkcs7.h.in)0
-rw-r--r--extension/openssl/pkcs7err.h (renamed from openssl/pkcs7err.h)0
-rw-r--r--extension/openssl/prov_ssl.h (renamed from openssl/prov_ssl.h)0
-rw-r--r--extension/openssl/proverr.h (renamed from openssl/proverr.h)0
-rw-r--r--extension/openssl/provider.h (renamed from openssl/provider.h)0
-rw-r--r--extension/openssl/rand.h (renamed from openssl/rand.h)0
-rw-r--r--extension/openssl/randerr.h (renamed from openssl/randerr.h)0
-rw-r--r--extension/openssl/rc2.h (renamed from openssl/rc2.h)0
-rw-r--r--extension/openssl/rc4.h (renamed from openssl/rc4.h)0
-rw-r--r--extension/openssl/rc5.h (renamed from openssl/rc5.h)0
-rw-r--r--extension/openssl/ripemd.h (renamed from openssl/ripemd.h)0
-rw-r--r--extension/openssl/rsa.h (renamed from openssl/rsa.h)0
-rw-r--r--extension/openssl/rsaerr.h (renamed from openssl/rsaerr.h)0
-rw-r--r--extension/openssl/safestack.h (renamed from openssl/safestack.h)0
-rw-r--r--extension/openssl/safestack.h.in (renamed from openssl/safestack.h.in)0
-rw-r--r--extension/openssl/seed.h (renamed from openssl/seed.h)0
-rw-r--r--extension/openssl/self_test.h (renamed from openssl/self_test.h)0
-rw-r--r--extension/openssl/sha.h (renamed from openssl/sha.h)0
-rw-r--r--extension/openssl/srp.h (renamed from openssl/srp.h)0
-rw-r--r--extension/openssl/srp.h.in (renamed from openssl/srp.h.in)0
-rw-r--r--extension/openssl/srtp.h (renamed from openssl/srtp.h)0
-rw-r--r--extension/openssl/ssl.h (renamed from openssl/ssl.h)0
-rw-r--r--extension/openssl/ssl.h.in (renamed from openssl/ssl.h.in)0
-rw-r--r--extension/openssl/ssl2.h (renamed from openssl/ssl2.h)0
-rw-r--r--extension/openssl/ssl3.h (renamed from openssl/ssl3.h)0
-rw-r--r--extension/openssl/sslerr.h (renamed from openssl/sslerr.h)0
-rw-r--r--extension/openssl/sslerr_legacy.h (renamed from openssl/sslerr_legacy.h)0
-rw-r--r--extension/openssl/stack.h (renamed from openssl/stack.h)0
-rw-r--r--extension/openssl/store.h (renamed from openssl/store.h)0
-rw-r--r--extension/openssl/storeerr.h (renamed from openssl/storeerr.h)0
-rw-r--r--extension/openssl/symhacks.h (renamed from openssl/symhacks.h)0
-rw-r--r--extension/openssl/tls1.h (renamed from openssl/tls1.h)0
-rw-r--r--extension/openssl/trace.h (renamed from openssl/trace.h)0
-rw-r--r--extension/openssl/ts.h (renamed from openssl/ts.h)0
-rw-r--r--extension/openssl/tserr.h (renamed from openssl/tserr.h)0
-rw-r--r--extension/openssl/txt_db.h (renamed from openssl/txt_db.h)0
-rw-r--r--extension/openssl/types.h (renamed from openssl/types.h)0
-rw-r--r--extension/openssl/ui.h (renamed from openssl/ui.h)0
-rw-r--r--extension/openssl/ui.h.in (renamed from openssl/ui.h.in)0
-rw-r--r--extension/openssl/uierr.h (renamed from openssl/uierr.h)0
-rw-r--r--extension/openssl/whrlpool.h (renamed from openssl/whrlpool.h)0
-rw-r--r--extension/openssl/x509.h (renamed from openssl/x509.h)0
-rw-r--r--extension/openssl/x509.h.in (renamed from openssl/x509.h.in)0
-rw-r--r--extension/openssl/x509_vfy.h (renamed from openssl/x509_vfy.h)0
-rw-r--r--extension/openssl/x509_vfy.h.in (renamed from openssl/x509_vfy.h.in)0
-rw-r--r--extension/openssl/x509err.h (renamed from openssl/x509err.h)0
-rw-r--r--extension/openssl/x509v3.h (renamed from openssl/x509v3.h)0
-rw-r--r--extension/openssl/x509v3.h.in (renamed from openssl/x509v3.h.in)0
-rw-r--r--extension/openssl/x509v3err.h (renamed from openssl/x509v3err.h)0
-rw-r--r--extension/opensslmanager.cpp (renamed from opensslmanager.cpp)21
-rw-r--r--extension/opensslmanager.h (renamed from opensslmanager.h)0
-rw-r--r--extension/opensslthread.cpp (renamed from opensslthread.cpp)0
-rw-r--r--extension/opensslthread.h (renamed from opensslthread.h)0
-rw-r--r--extension/sdk/smsdk_config.h (renamed from sdk/smsdk_config.h)12
-rw-r--r--extension/sdk/smsdk_ext.cpp (renamed from sdk/smsdk_ext.cpp)0
-rw-r--r--extension/sdk/smsdk_ext.h (renamed from sdk/smsdk_ext.h)0
-rw-r--r--extension/test.sh13
-rw-r--r--pawn/scripting/curl_self_test.sp (renamed from scripting/curl_self_test.sp)0
-rw-r--r--pawn/scripting/include/cURL.inc (renamed from scripting/include/cURL.inc)0
-rw-r--r--pawn/scripting/include/cURL_header.inc (renamed from scripting/include/cURL_header.inc)0
212 files changed, 130 insertions, 86 deletions
diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml
index 1ba2b60..6928f99 100644
--- a/.github/workflows/docker_build.yml
+++ b/.github/workflows/docker_build.yml
@@ -1,57 +1,38 @@
-on:
- push
+'on':
+ push:
+ tags:
+ - v*
jobs:
- compile:
- name: Compile extension in docker
- runs-on: ubuntu-latest
- steps:
- - name: Check out the repo
- uses: actions/checkout@v2
-
- - name: Run the build process with Docker
- uses: addnab/docker-run-action@v3
- with:
- image: registry.gitlab.steamos.cloud/steamrt/sniper/sdk:latest
- options: -v ${{ github.workspace }}:/mnt/curl
- run: |
- bash /mnt/curl/ci/_docker_script.sh
-
- - name: Zip packages
- run: |
- pwd
- ls -la
- mkdir build
- cd build
- mkdir scripting/include -p
- mkdir extensions
- mkdir plugins
- cp ../Release/curl.ext.so extensions/ -v
- 7za a -r build/sm-neocurl.zip scripting/ plugins/ extensions/
- ls -la
- pwd
-
- - name: Set Commit Hash
- id: commit_info
- run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
-
- - name: Create Release
- id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ github.ref }}
- release_name: ${{ github.ref }}
- draft: false
- prerelease: false
-
- - name: Upload Release Asset
- id: upload-release-asset
- uses: actions/upload-release-asset@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
- asset_path: ./build/stac.zip
- asset_name: stac.zip
- asset_content_type: application/zip
+ compile:
+ name: Compile extension in docker
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out the repo
+ uses: actions/checkout@v2
+ - name: Run the build process with Docker
+ uses: addnab/docker-run-action@v3
+ with:
+ image: 'debian:11-slim'
+ options: '-v ${{ github.workspace }}:/mnt/curl'
+ run: |
+ bash /mnt/curl/ci/_docker_script.sh
+ - name: Zip packages
+ run: |
+ pwd
+ ls -la
+ pushd build
+ 7za a -r sm-neocurl.zip scripting/ plugins/ extensions/
+ ls -la
+ pwd
+ ls -la
+ popd
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ files: |
+ ./build/sm-neocurl.zip
+ fail_on_unmatched_files: true
+ generate_release_notes: true
+ # if: contains(github.ref, 'beta')
+ # prerelease: true
diff --git a/.gitignore b/.gitignore
index 692abaa..d75d457 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ mm-*
test*
Release/
Debug/
+build
+build/*
diff --git a/.hgignore b/.hgignore
deleted file mode 100644
index fd66f07..0000000
--- a/.hgignore
+++ /dev/null
@@ -1 +0,0 @@
-relre:msvc8
diff --git a/ci/_docker_script.sh b/ci/_docker_script.sh
index ba5065d..82f5232 100644
--- a/ci/_docker_script.sh
+++ b/ci/_docker_script.sh
@@ -1,10 +1,39 @@
#!/bin/bash
-
-cd /mnt/curl/
+dpkg --add-architecture i386
+apt update
+apt install p7zip-full git ca-certificates build-essential g++-multilib -y --no-install-recommends
+# lib32stdc++-10-dev lib32z1-dev libc6-dev-i386 linux-libc-dev:i386
+cd /mnt/curl/ || exit
git config --global --add safe.directory "*"
-rm -rf ./sm-1.11
-git clone https://github.com/alliedmodders/sourcemod --branch 1.11-dev sm-1.11 --recursive
-rm -rf ./mm-1.11
-git clone https://github.com/alliedmodders/metamod-source --branch 1.11-dev mm-1.11 --recursive
-make clean
-make
+rm -rf build
+mkdir build
+mkdir build/extensions -p
+mkdir build/scripting -p
+mkdir build/plugins -p
+
+pushd build || exit
+ rm -rf ./sm-1.11
+ git clone https://github.com/alliedmodders/sourcemod --branch 1.11-dev sm-1.11 --recursive
+ rm -rf ./mm-1.11
+ git clone https://github.com/alliedmodders/metamod-source --branch 1.11-dev mm-1.11 --recursive
+popd || exit
+
+pushd extension || exit
+ make clean
+ make
+ mv Release/curl.ext.so ../build/extensions/ -v
+ rm -rf Release
+popd || exit
+
+cp pawn/* build/ -Rfv
+
+# cleanup
+
+pushd build || exit
+ rm -rf ./sm-1.11
+ rm -rf ./mm-1.11
+
+ 7za a -r sm-neocurl.zip scripting/ plugins/ extensions/
+popd || exit
+
+chmod 777 ./* -Rfv
diff --git a/ci/build.sh b/ci/build.sh
index 1de802e..b6e6801 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -1,20 +1,23 @@
-sdfasd#!/bin/bash
+#!/bin/bash
# we do this so that we can be agnostic about where we're invoked from
# meaning you can exec this script anywhere and it should work the same
thisiswhereiam=${BASH_SOURCE[0]}
# this should be /whatever/directory/structure/Open-Fortress-Source
script_folder=$( cd -- "$( dirname -- "${thisiswhereiam}" )" &> /dev/null && pwd )
+
# this should be /whatever/directory/structure/[sdkmod-source]/build
build_dir="build"
+img="registry.gitlab.steamos.cloud/steamrt/sniper/sdk"
+img="debian:11-slim"
echo ${thisiswhereiam}
echo ${script_folder}
docker run -it \
--mount type=bind,source=${script_folder}/../,target=/mnt/curl \
-registry.gitlab.steamos.cloud/steamrt/sniper/sdk \
-bash
-#/mnt/curl/ci/_docker_script.sh
+--user "$(id -u):$(id -g)" \
+${img} \
+bash /mnt/curl/ci/_docker_script.sh
diff --git a/Makefile b/extension/Makefile
index 58a909a..fc523b4 100644
--- a/Makefile
+++ b/extension/Makefile
@@ -2,10 +2,10 @@
# Makefile written by David "BAILOPAN" Anderson
#SMSDK = ../..
-SMSDK = ./sm-1.11
+SMSDK = ../build/sm-1.11
# SRCDS_BASE = ~/srcds
# MMSOURCE17 = ../../../mmsource-central
-MMSOURCE17 = ./mm-1.11
+MMSOURCE17 = ../build/mm-1.11
#####################################
### EDIT BELOW FOR OTHER PROJECTS ###
@@ -29,8 +29,8 @@ OBJECTS = \
### CONFIGURE ANY OTHER FLAGS/OPTIONS HERE ###
##############################################
-C_OPT_FLAGS = -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing
-C_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3
+C_OPT_FLAGS = -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -g -ggdb
+C_DEBUG_FLAGS = -D_DEBUG -DDEBUG
C_GCC4_FLAGS = -fvisibility=hidden
CPP_GCC4_FLAGS = -fvisibility-inlines-hidden
CPP = gcc
diff --git a/curl/curl.h b/extension/curl/curl.h
index f4aa17f..f4aa17f 100644
--- a/curl/curl.h
+++ b/extension/curl/curl.h
diff --git a/curl/curlbuild.h b/extension/curl/curlbuild.h
index d0b32ac..d0b32ac 100644
--- a/curl/curlbuild.h
+++ b/extension/curl/curlbuild.h
diff --git a/curl/curlrules.h b/extension/curl/curlrules.h
index cbc12fd..cbc12fd 100644
--- a/curl/curlrules.h
+++ b/extension/curl/curlrules.h
diff --git a/curl/curlver.h b/extension/curl/curlver.h
index f9476e4..f9476e4 100644
--- a/curl/curlver.h
+++ b/extension/curl/curlver.h
diff --git a/curl/easy.h b/extension/curl/easy.h
index c1e3e76..c1e3e76 100644
--- a/curl/easy.h
+++ b/extension/curl/easy.h
diff --git a/curl/mprintf.h b/extension/curl/mprintf.h
index de7dd2f..de7dd2f 100644
--- a/curl/mprintf.h
+++ b/extension/curl/mprintf.h
diff --git a/curl/multi.h b/extension/curl/multi.h
index f965666..f965666 100644
--- a/curl/multi.h
+++ b/extension/curl/multi.h
diff --git a/curl/stdcheaders.h b/extension/curl/stdcheaders.h
index ad82ef6..ad82ef6 100644
--- a/curl/stdcheaders.h
+++ b/extension/curl/stdcheaders.h
diff --git a/curl/typecheck-gcc.h b/extension/curl/typecheck-gcc.h
index 5c584b0..5c584b0 100644
--- a/curl/typecheck-gcc.h
+++ b/extension/curl/typecheck-gcc.h
diff --git a/curlmanager.cpp b/extension/curlmanager.cpp
index 973d133..973d133 100644
--- a/curlmanager.cpp
+++ b/extension/curlmanager.cpp
diff --git a/curlmanager.h b/extension/curlmanager.h
index f1362a4..f1362a4 100644
--- a/curlmanager.h
+++ b/extension/curlmanager.h
diff --git a/curlthread.cpp b/extension/curlthread.cpp
index 71197ca..71197ca 100644
--- a/curlthread.cpp
+++ b/extension/curlthread.cpp
diff --git a/curlthread.h b/extension/curlthread.h
index ddb0c57..ddb0c57 100644
--- a/curlthread.h
+++ b/extension/curlthread.h
diff --git a/define.h b/extension/define.h
index f56ccda..f56ccda 100644
--- a/define.h
+++ b/extension/define.h
diff --git a/extension.cpp b/extension/extension.cpp
index fa82cf1..fa82cf1 100644
--- a/extension.cpp
+++ b/extension/extension.cpp
diff --git a/extension.h b/extension/extension.h
index ffbea0a..ffbea0a 100644
--- a/extension.h
+++ b/extension/extension.h
diff --git a/lib/libbrotlicommon-static.a b/extension/lib/libbrotlicommon-static.a
index 083d11f..083d11f 100644
--- a/lib/libbrotlicommon-static.a
+++ b/extension/lib/libbrotlicommon-static.a
Binary files differ
diff --git a/lib/libbrotlidec-static.a b/extension/lib/libbrotlidec-static.a
index 2e2adf2..2e2adf2 100644
--- a/lib/libbrotlidec-static.a
+++ b/extension/lib/libbrotlidec-static.a
Binary files differ
diff --git a/lib/libbrotlienc-static.a b/extension/lib/libbrotlienc-static.a
index 215719e..215719e 100644
--- a/lib/libbrotlienc-static.a
+++ b/extension/lib/libbrotlienc-static.a
Binary files differ
diff --git a/lib/libcrypto.a b/extension/lib/libcrypto.a
index 76edd91..76edd91 100644
--- a/lib/libcrypto.a
+++ b/extension/lib/libcrypto.a
Binary files differ
diff --git a/lib/libcurl.a b/extension/lib/libcurl.a
index 8d1b663..8d1b663 100644
--- a/lib/libcurl.a
+++ b/extension/lib/libcurl.a
Binary files differ
diff --git a/lib/libcurl.dll.a b/extension/lib/libcurl.dll.a
index adf47a5..adf47a5 100644
--- a/lib/libcurl.dll.a
+++ b/extension/lib/libcurl.dll.a
Binary files differ
diff --git a/lib/libcurl.lib b/extension/lib/libcurl.lib
index 0d7e18f..0d7e18f 100644
--- a/lib/libcurl.lib
+++ b/extension/lib/libcurl.lib
Binary files differ
diff --git a/lib/libcurld.lib b/extension/lib/libcurld.lib
index 1462f0b..1462f0b 100644
--- a/lib/libcurld.lib
+++ b/extension/lib/libcurld.lib
Binary files differ
diff --git a/lib/libcurld.lib_unusable b/extension/lib/libcurld.lib_unusable
index 1462f0b..1462f0b 100644
--- a/lib/libcurld.lib_unusable
+++ b/extension/lib/libcurld.lib_unusable
Binary files differ
diff --git a/lib/libgsasl.a b/extension/lib/libgsasl.a
index f14681e..f14681e 100644
--- a/lib/libgsasl.a
+++ b/extension/lib/libgsasl.a
Binary files differ
diff --git a/lib/libnghttp2.a b/extension/lib/libnghttp2.a
index b7c1dca..b7c1dca 100644
--- a/lib/libnghttp2.a
+++ b/extension/lib/libnghttp2.a
Binary files differ
diff --git a/lib/libngtcp2.a b/extension/lib/libngtcp2.a
index 0b5125f..0b5125f 100644
--- a/lib/libngtcp2.a
+++ b/extension/lib/libngtcp2.a
Binary files differ
diff --git a/lib/libssh2.a b/extension/lib/libssh2.a
index f57e9a6..f57e9a6 100644
--- a/lib/libssh2.a
+++ b/extension/lib/libssh2.a
Binary files differ
diff --git a/lib/libssl.a b/extension/lib/libssl.a
index 9d8bacf..9d8bacf 100644
--- a/lib/libssl.a
+++ b/extension/lib/libssl.a
Binary files differ
diff --git a/lib/libz.a b/extension/lib/libz.a
index ec39f41..ec39f41 100644
--- a/lib/libz.a
+++ b/extension/lib/libz.a
Binary files differ
diff --git a/lib/libzstd.a b/extension/lib/libzstd.a
index 53bd26e..53bd26e 100644
--- a/lib/libzstd.a
+++ b/extension/lib/libzstd.a
Binary files differ
diff --git a/natives.cpp b/extension/natives.cpp
index 0a02663..ef9c2fc 100644
--- a/natives.cpp
+++ b/extension/natives.cpp
@@ -520,6 +520,16 @@ static cell_t sm_curl_hash_file(IPluginContext *pContext, const cell_t *params)
static cell_t sm_curl_hash_string(IPluginContext *pContext, const cell_t *params)
{
+ Openssl_Hash hashType = (Openssl_Hash)params[3];
+ if
+ (
+ hashType == Openssl_Hash_MD2
+ || hashType == Openssl_Hash_SHA
+ )
+ {
+ return pContext->ThrowNativeError("Deprecated hash function %x - Sorry!", params[3]);
+ }
+
char *input;
unsigned int data_size = (unsigned int)params[2];
if(data_size > 0)
diff --git a/openssl/__DECC_INCLUDE_EPILOGUE.H b/extension/openssl/__DECC_INCLUDE_EPILOGUE.H
index d251d0a..d251d0a 100644
--- a/openssl/__DECC_INCLUDE_EPILOGUE.H
+++ b/extension/openssl/__DECC_INCLUDE_EPILOGUE.H
diff --git a/openssl/__DECC_INCLUDE_PROLOGUE.H b/extension/openssl/__DECC_INCLUDE_PROLOGUE.H
index 91ac6b3..91ac6b3 100644
--- a/openssl/__DECC_INCLUDE_PROLOGUE.H
+++ b/extension/openssl/__DECC_INCLUDE_PROLOGUE.H
diff --git a/openssl/aes.h b/extension/openssl/aes.h
index d0f9dfc..d0f9dfc 100644
--- a/openssl/aes.h
+++ b/extension/openssl/aes.h
diff --git a/openssl/asn1.h b/extension/openssl/asn1.h
index d386c52..d386c52 100644
--- a/openssl/asn1.h
+++ b/extension/openssl/asn1.h
diff --git a/openssl/asn1.h.in b/extension/openssl/asn1.h.in
index d478bc9..d478bc9 100644
--- a/openssl/asn1.h.in
+++ b/extension/openssl/asn1.h.in
diff --git a/openssl/asn1_mac.h b/extension/openssl/asn1_mac.h
index fdcb983..fdcb983 100644
--- a/openssl/asn1_mac.h
+++ b/extension/openssl/asn1_mac.h
diff --git a/openssl/asn1err.h b/extension/openssl/asn1err.h
index d427622..d427622 100644
--- a/openssl/asn1err.h
+++ b/extension/openssl/asn1err.h
diff --git a/openssl/asn1t.h b/extension/openssl/asn1t.h
index a725c53..a725c53 100644
--- a/openssl/asn1t.h
+++ b/extension/openssl/asn1t.h
diff --git a/openssl/asn1t.h.in b/extension/openssl/asn1t.h.in
index b536fe5..b536fe5 100644
--- a/openssl/asn1t.h.in
+++ b/extension/openssl/asn1t.h.in
diff --git a/openssl/async.h b/extension/openssl/async.h
index bc27d5d..bc27d5d 100644
--- a/openssl/async.h
+++ b/extension/openssl/async.h
diff --git a/openssl/asyncerr.h b/extension/openssl/asyncerr.h
index c093f7b..c093f7b 100644
--- a/openssl/asyncerr.h
+++ b/extension/openssl/asyncerr.h
diff --git a/openssl/bio.h b/extension/openssl/bio.h
index 3e9489a..3e9489a 100644
--- a/openssl/bio.h
+++ b/extension/openssl/bio.h
diff --git a/openssl/bio.h.in b/extension/openssl/bio.h.in
index c521e41..c521e41 100644
--- a/openssl/bio.h.in
+++ b/extension/openssl/bio.h.in
diff --git a/openssl/bioerr.h b/extension/openssl/bioerr.h
index 787b30a..787b30a 100644
--- a/openssl/bioerr.h
+++ b/extension/openssl/bioerr.h
diff --git a/openssl/blowfish.h b/extension/openssl/blowfish.h
index 667d642..667d642 100644
--- a/openssl/blowfish.h
+++ b/extension/openssl/blowfish.h
diff --git a/openssl/bn.h b/extension/openssl/bn.h
index 27b127a..27b127a 100644
--- a/openssl/bn.h
+++ b/extension/openssl/bn.h
diff --git a/openssl/bnerr.h b/extension/openssl/bnerr.h
index 7c3f6ef..7c3f6ef 100644
--- a/openssl/bnerr.h
+++ b/extension/openssl/bnerr.h
diff --git a/openssl/buffer.h b/extension/openssl/buffer.h
index 5773b98..5773b98 100644
--- a/openssl/buffer.h
+++ b/extension/openssl/buffer.h
diff --git a/openssl/buffererr.h b/extension/openssl/buffererr.h
index d18b1f8..d18b1f8 100644
--- a/openssl/buffererr.h
+++ b/extension/openssl/buffererr.h
diff --git a/openssl/camellia.h b/extension/openssl/camellia.h
index 88c2279..88c2279 100644
--- a/openssl/camellia.h
+++ b/extension/openssl/camellia.h
diff --git a/openssl/cast.h b/extension/openssl/cast.h
index 0bf217b..0bf217b 100644
--- a/openssl/cast.h
+++ b/extension/openssl/cast.h
diff --git a/openssl/cmac.h b/extension/openssl/cmac.h
index f508618..f508618 100644
--- a/openssl/cmac.h
+++ b/extension/openssl/cmac.h
diff --git a/openssl/cmp.h b/extension/openssl/cmp.h
index a124f76..a124f76 100644
--- a/openssl/cmp.h
+++ b/extension/openssl/cmp.h
diff --git a/openssl/cmp.h.in b/extension/openssl/cmp.h.in
index e525e93..e525e93 100644
--- a/openssl/cmp.h.in
+++ b/extension/openssl/cmp.h.in
diff --git a/openssl/cmp_util.h b/extension/openssl/cmp_util.h
index 9a16892..9a16892 100644
--- a/openssl/cmp_util.h
+++ b/extension/openssl/cmp_util.h
diff --git a/openssl/cmperr.h b/extension/openssl/cmperr.h
index 06e9dbf..06e9dbf 100644
--- a/openssl/cmperr.h
+++ b/extension/openssl/cmperr.h
diff --git a/openssl/cms.h b/extension/openssl/cms.h
index 5b907f2..5b907f2 100644
--- a/openssl/cms.h
+++ b/extension/openssl/cms.h
diff --git a/openssl/cms.h.in b/extension/openssl/cms.h.in
index da20ddf..da20ddf 100644
--- a/openssl/cms.h.in
+++ b/extension/openssl/cms.h.in
diff --git a/openssl/cmserr.h b/extension/openssl/cmserr.h
index d48c2a4..d48c2a4 100644
--- a/openssl/cmserr.h
+++ b/extension/openssl/cmserr.h
diff --git a/openssl/comp.h b/extension/openssl/comp.h
index 06ff581..06ff581 100644
--- a/openssl/comp.h
+++ b/extension/openssl/comp.h
diff --git a/openssl/comperr.h b/extension/openssl/comperr.h
index 01dd3e6..01dd3e6 100644
--- a/openssl/comperr.h
+++ b/extension/openssl/comperr.h
diff --git a/openssl/conf.h b/extension/openssl/conf.h
index eb7759d..eb7759d 100644
--- a/openssl/conf.h
+++ b/extension/openssl/conf.h
diff --git a/openssl/conf.h.in b/extension/openssl/conf.h.in
index 044b3eb..044b3eb 100644
--- a/openssl/conf.h.in
+++ b/extension/openssl/conf.h.in
diff --git a/openssl/conf_api.h b/extension/openssl/conf_api.h
index ed67d57..ed67d57 100644
--- a/openssl/conf_api.h
+++ b/extension/openssl/conf_api.h
diff --git a/openssl/conferr.h b/extension/openssl/conferr.h
index 496e2e1..496e2e1 100644
--- a/openssl/conferr.h
+++ b/extension/openssl/conferr.h
diff --git a/openssl/configuration.h b/extension/openssl/configuration.h
index a9ff58c..a9ff58c 100644
--- a/openssl/configuration.h
+++ b/extension/openssl/configuration.h
diff --git a/openssl/configuration.h.in b/extension/openssl/configuration.h.in
index b84dc1d..b84dc1d 100644
--- a/openssl/configuration.h.in
+++ b/extension/openssl/configuration.h.in
diff --git a/openssl/conftypes.h b/extension/openssl/conftypes.h
index 17cefaa..17cefaa 100644
--- a/openssl/conftypes.h
+++ b/extension/openssl/conftypes.h
diff --git a/openssl/core.h b/extension/openssl/core.h
index 9683ac7..9683ac7 100644
--- a/openssl/core.h
+++ b/extension/openssl/core.h
diff --git a/openssl/core_dispatch.h b/extension/openssl/core_dispatch.h
index 11e3c86..11e3c86 100644
--- a/openssl/core_dispatch.h
+++ b/extension/openssl/core_dispatch.h
diff --git a/openssl/core_names.h b/extension/openssl/core_names.h
index f5dcb99..f5dcb99 100644
--- a/openssl/core_names.h
+++ b/extension/openssl/core_names.h
diff --git a/openssl/core_object.h b/extension/openssl/core_object.h
index 62ccf39..62ccf39 100644
--- a/openssl/core_object.h
+++ b/extension/openssl/core_object.h
diff --git a/openssl/crmf.h b/extension/openssl/crmf.h
index b2a82ed..b2a82ed 100644
--- a/openssl/crmf.h
+++ b/extension/openssl/crmf.h
diff --git a/openssl/crmf.h.in b/extension/openssl/crmf.h.in
index 4d37ea6..4d37ea6 100644
--- a/openssl/crmf.h.in
+++ b/extension/openssl/crmf.h.in
diff --git a/openssl/crmferr.h b/extension/openssl/crmferr.h
index b242b92..b242b92 100644
--- a/openssl/crmferr.h
+++ b/extension/openssl/crmferr.h
diff --git a/openssl/crypto.h b/extension/openssl/crypto.h
index ff2356b..ff2356b 100644
--- a/openssl/crypto.h
+++ b/extension/openssl/crypto.h
diff --git a/openssl/crypto.h.in b/extension/openssl/crypto.h.in
index fb0c7cb..fb0c7cb 100644
--- a/openssl/crypto.h.in
+++ b/extension/openssl/crypto.h.in
diff --git a/openssl/cryptoerr.h b/extension/openssl/cryptoerr.h
index e84b12d..e84b12d 100644
--- a/openssl/cryptoerr.h
+++ b/extension/openssl/cryptoerr.h
diff --git a/openssl/cryptoerr_legacy.h b/extension/openssl/cryptoerr_legacy.h
index ccab33a..ccab33a 100644
--- a/openssl/cryptoerr_legacy.h
+++ b/extension/openssl/cryptoerr_legacy.h
diff --git a/openssl/ct.h b/extension/openssl/ct.h
index 06c41b7..06c41b7 100644
--- a/openssl/ct.h
+++ b/extension/openssl/ct.h
diff --git a/openssl/ct.h.in b/extension/openssl/ct.h.in
index 16086b3..16086b3 100644
--- a/openssl/ct.h.in
+++ b/extension/openssl/ct.h.in
diff --git a/openssl/cterr.h b/extension/openssl/cterr.h
index 935d32d..935d32d 100644
--- a/openssl/cterr.h
+++ b/extension/openssl/cterr.h
diff --git a/openssl/decoder.h b/extension/openssl/decoder.h
index d4ee2cf..d4ee2cf 100644
--- a/openssl/decoder.h
+++ b/extension/openssl/decoder.h
diff --git a/openssl/decodererr.h b/extension/openssl/decodererr.h
index 4212a38..4212a38 100644
--- a/openssl/decodererr.h
+++ b/extension/openssl/decodererr.h
diff --git a/openssl/des.h b/extension/openssl/des.h
index 09798a6..09798a6 100644
--- a/openssl/des.h
+++ b/extension/openssl/des.h
diff --git a/openssl/dh.h b/extension/openssl/dh.h
index ec5a493..ec5a493 100644
--- a/openssl/dh.h
+++ b/extension/openssl/dh.h
diff --git a/openssl/dherr.h b/extension/openssl/dherr.h
index 5d2a762..5d2a762 100644
--- a/openssl/dherr.h
+++ b/extension/openssl/dherr.h
diff --git a/openssl/dsa.h b/extension/openssl/dsa.h
index 160404c..160404c 100644
--- a/openssl/dsa.h
+++ b/extension/openssl/dsa.h
diff --git a/openssl/dsaerr.h b/extension/openssl/dsaerr.h
index 26ada57..26ada57 100644
--- a/openssl/dsaerr.h
+++ b/extension/openssl/dsaerr.h
diff --git a/openssl/dtls1.h b/extension/openssl/dtls1.h
index 5dc6b54..5dc6b54 100644
--- a/openssl/dtls1.h
+++ b/extension/openssl/dtls1.h
diff --git a/openssl/e_os2.h b/extension/openssl/e_os2.h
index 32e142a..32e142a 100644
--- a/openssl/e_os2.h
+++ b/extension/openssl/e_os2.h
diff --git a/openssl/ebcdic.h b/extension/openssl/ebcdic.h
index e0ae1aa..e0ae1aa 100644
--- a/openssl/ebcdic.h
+++ b/extension/openssl/ebcdic.h
diff --git a/openssl/ec.h b/extension/openssl/ec.h
index be9fb2f..be9fb2f 100644
--- a/openssl/ec.h
+++ b/extension/openssl/ec.h
diff --git a/openssl/ecdh.h b/extension/openssl/ecdh.h
index 56bd4cc..56bd4cc 100644
--- a/openssl/ecdh.h
+++ b/extension/openssl/ecdh.h
diff --git a/openssl/ecdsa.h b/extension/openssl/ecdsa.h
index 56bd4cc..56bd4cc 100644
--- a/openssl/ecdsa.h
+++ b/extension/openssl/ecdsa.h
diff --git a/openssl/ecerr.h b/extension/openssl/ecerr.h
index f15f91f..f15f91f 100644
--- a/openssl/ecerr.h
+++ b/extension/openssl/ecerr.h
diff --git a/openssl/encoder.h b/extension/openssl/encoder.h
index c37a6f1..c37a6f1 100644
--- a/openssl/encoder.h
+++ b/extension/openssl/encoder.h
diff --git a/openssl/encodererr.h b/extension/openssl/encodererr.h
index 5e318b1..5e318b1 100644
--- a/openssl/encodererr.h
+++ b/extension/openssl/encodererr.h
diff --git a/openssl/engine.h b/extension/openssl/engine.h
index 2fbc82c..2fbc82c 100644
--- a/openssl/engine.h
+++ b/extension/openssl/engine.h
diff --git a/openssl/engineerr.h b/extension/openssl/engineerr.h
index d439b68..d439b68 100644
--- a/openssl/engineerr.h
+++ b/extension/openssl/engineerr.h
diff --git a/openssl/err.h b/extension/openssl/err.h
index 2abf248..2abf248 100644
--- a/openssl/err.h
+++ b/extension/openssl/err.h
diff --git a/openssl/err.h.in b/extension/openssl/err.h.in
index 11dc216..11dc216 100644
--- a/openssl/err.h.in
+++ b/extension/openssl/err.h.in
diff --git a/openssl/ess.h b/extension/openssl/ess.h
index dad596a..dad596a 100644
--- a/openssl/ess.h
+++ b/extension/openssl/ess.h
diff --git a/openssl/ess.h.in b/extension/openssl/ess.h.in
index d1a685b..d1a685b 100644
--- a/openssl/ess.h.in
+++ b/extension/openssl/ess.h.in
diff --git a/openssl/esserr.h b/extension/openssl/esserr.h
index 165ce7c..165ce7c 100644
--- a/openssl/esserr.h
+++ b/extension/openssl/esserr.h
diff --git a/openssl/evp.h b/extension/openssl/evp.h
index 86f4e22..86f4e22 100644
--- a/openssl/evp.h
+++ b/extension/openssl/evp.h
diff --git a/openssl/evperr.h b/extension/openssl/evperr.h
index a5053f6..a5053f6 100644
--- a/openssl/evperr.h
+++ b/extension/openssl/evperr.h
diff --git a/openssl/fips_names.h b/extension/openssl/fips_names.h
index a94e262..a94e262 100644
--- a/openssl/fips_names.h
+++ b/extension/openssl/fips_names.h
diff --git a/openssl/fipskey.h b/extension/openssl/fipskey.h
index ccc1d2f..ccc1d2f 100644
--- a/openssl/fipskey.h
+++ b/extension/openssl/fipskey.h
diff --git a/openssl/fipskey.h.in b/extension/openssl/fipskey.h.in
index 56b947e..56b947e 100644
--- a/openssl/fipskey.h.in
+++ b/extension/openssl/fipskey.h.in
diff --git a/openssl/hmac.h b/extension/openssl/hmac.h
index f9e1bff..f9e1bff 100644
--- a/openssl/hmac.h
+++ b/extension/openssl/hmac.h
diff --git a/openssl/http.h b/extension/openssl/http.h
index f7ab214..f7ab214 100644
--- a/openssl/http.h
+++ b/extension/openssl/http.h
diff --git a/openssl/httperr.h b/extension/openssl/httperr.h
index ee08959..ee08959 100644
--- a/openssl/httperr.h
+++ b/extension/openssl/httperr.h
diff --git a/openssl/idea.h b/extension/openssl/idea.h
index 1f9bb3b..1f9bb3b 100644
--- a/openssl/idea.h
+++ b/extension/openssl/idea.h
diff --git a/openssl/kdf.h b/extension/openssl/kdf.h
index 0983230..0983230 100644
--- a/openssl/kdf.h
+++ b/extension/openssl/kdf.h
diff --git a/openssl/kdferr.h b/extension/openssl/kdferr.h
index 963d766..963d766 100644
--- a/openssl/kdferr.h
+++ b/extension/openssl/kdferr.h
diff --git a/openssl/lhash.h b/extension/openssl/lhash.h
index f4155df..f4155df 100644
--- a/openssl/lhash.h
+++ b/extension/openssl/lhash.h
diff --git a/openssl/lhash.h.in b/extension/openssl/lhash.h.in
index dc344a5..dc344a5 100644
--- a/openssl/lhash.h.in
+++ b/extension/openssl/lhash.h.in
diff --git a/openssl/macros.h b/extension/openssl/macros.h
index bcd42ec..bcd42ec 100644
--- a/openssl/macros.h
+++ b/extension/openssl/macros.h
diff --git a/openssl/md2.h b/extension/openssl/md2.h
index 5d4cb77..5d4cb77 100644
--- a/openssl/md2.h
+++ b/extension/openssl/md2.h
diff --git a/openssl/md4.h b/extension/openssl/md4.h
index 6c150a6..6c150a6 100644
--- a/openssl/md4.h
+++ b/extension/openssl/md4.h
diff --git a/openssl/md5.h b/extension/openssl/md5.h
index 77a5773..77a5773 100644
--- a/openssl/md5.h
+++ b/extension/openssl/md5.h
diff --git a/openssl/mdc2.h b/extension/openssl/mdc2.h
index 5a7ee28..5a7ee28 100644
--- a/openssl/mdc2.h
+++ b/extension/openssl/mdc2.h
diff --git a/openssl/modes.h b/extension/openssl/modes.h
index e190799..e190799 100644
--- a/openssl/modes.h
+++ b/extension/openssl/modes.h
diff --git a/openssl/obj_mac.h b/extension/openssl/obj_mac.h
index 0e86027..0e86027 100644
--- a/openssl/obj_mac.h
+++ b/extension/openssl/obj_mac.h
diff --git a/openssl/objects.h b/extension/openssl/objects.h
index 9ea91c2..9ea91c2 100644
--- a/openssl/objects.h
+++ b/extension/openssl/objects.h
diff --git a/openssl/objectserr.h b/extension/openssl/objectserr.h
index 585217f..585217f 100644
--- a/openssl/objectserr.h
+++ b/extension/openssl/objectserr.h
diff --git a/openssl/ocsp.h b/extension/openssl/ocsp.h
index 5688381..5688381 100644
--- a/openssl/ocsp.h
+++ b/extension/openssl/ocsp.h
diff --git a/openssl/ocsp.h.in b/extension/openssl/ocsp.h.in
index e2cc271..e2cc271 100644
--- a/openssl/ocsp.h.in
+++ b/extension/openssl/ocsp.h.in
diff --git a/openssl/ocsperr.h b/extension/openssl/ocsperr.h
index 46a0523..46a0523 100644
--- a/openssl/ocsperr.h
+++ b/extension/openssl/ocsperr.h
diff --git a/openssl/opensslconf.h b/extension/openssl/opensslconf.h
index 1e83371..1e83371 100644
--- a/openssl/opensslconf.h
+++ b/extension/openssl/opensslconf.h
diff --git a/openssl/opensslv.h b/extension/openssl/opensslv.h
index 80e5f61..80e5f61 100644
--- a/openssl/opensslv.h
+++ b/extension/openssl/opensslv.h
diff --git a/openssl/opensslv.h.in b/extension/openssl/opensslv.h.in
index 3f47a2a..3f47a2a 100644
--- a/openssl/opensslv.h.in
+++ b/extension/openssl/opensslv.h.in
diff --git a/openssl/ossl_typ.h b/extension/openssl/ossl_typ.h
index 82a5898..82a5898 100644
--- a/openssl/ossl_typ.h
+++ b/extension/openssl/ossl_typ.h
diff --git a/openssl/param_build.h b/extension/openssl/param_build.h
index f29fdb2..f29fdb2 100644
--- a/openssl/param_build.h
+++ b/extension/openssl/param_build.h
diff --git a/openssl/params.h b/extension/openssl/params.h
index d75eab0..d75eab0 100644
--- a/openssl/params.h
+++ b/extension/openssl/params.h
diff --git a/openssl/pem.h b/extension/openssl/pem.h
index 000d9c8..000d9c8 100644
--- a/openssl/pem.h
+++ b/extension/openssl/pem.h
diff --git a/openssl/pem2.h b/extension/openssl/pem2.h
index a8a5325..a8a5325 100644
--- a/openssl/pem2.h
+++ b/extension/openssl/pem2.h
diff --git a/openssl/pemerr.h b/extension/openssl/pemerr.h
index 18f6d9e..18f6d9e 100644
--- a/openssl/pemerr.h
+++ b/extension/openssl/pemerr.h
diff --git a/openssl/pkcs12.h b/extension/openssl/pkcs12.h
index 29a2cbf..29a2cbf 100644
--- a/openssl/pkcs12.h
+++ b/extension/openssl/pkcs12.h
diff --git a/openssl/pkcs12.h.in b/extension/openssl/pkcs12.h.in
index cf956b4..cf956b4 100644
--- a/openssl/pkcs12.h.in
+++ b/extension/openssl/pkcs12.h.in
diff --git a/openssl/pkcs12err.h b/extension/openssl/pkcs12err.h
index 933c832..933c832 100644
--- a/openssl/pkcs12err.h
+++ b/extension/openssl/pkcs12err.h
diff --git a/openssl/pkcs7.h b/extension/openssl/pkcs7.h
index d293738..d293738 100644
--- a/openssl/pkcs7.h
+++ b/extension/openssl/pkcs7.h
diff --git a/openssl/pkcs7.h.in b/extension/openssl/pkcs7.h.in
index 0a0c415..0a0c415 100644
--- a/openssl/pkcs7.h.in
+++ b/extension/openssl/pkcs7.h.in
diff --git a/openssl/pkcs7err.h b/extension/openssl/pkcs7err.h
index ceb1a50..ceb1a50 100644
--- a/openssl/pkcs7err.h
+++ b/extension/openssl/pkcs7err.h
diff --git a/openssl/prov_ssl.h b/extension/openssl/prov_ssl.h
index d3e0896..d3e0896 100644
--- a/openssl/prov_ssl.h
+++ b/extension/openssl/prov_ssl.h
diff --git a/openssl/proverr.h b/extension/openssl/proverr.h
index 5d5c16d..5d5c16d 100644
--- a/openssl/proverr.h
+++ b/extension/openssl/proverr.h
diff --git a/openssl/provider.h b/extension/openssl/provider.h
index dc86ff5..dc86ff5 100644
--- a/openssl/provider.h
+++ b/extension/openssl/provider.h
diff --git a/openssl/rand.h b/extension/openssl/rand.h
index 90e0f0a..90e0f0a 100644
--- a/openssl/rand.h
+++ b/extension/openssl/rand.h
diff --git a/openssl/randerr.h b/extension/openssl/randerr.h
index b5e08e4..b5e08e4 100644
--- a/openssl/randerr.h
+++ b/extension/openssl/randerr.h
diff --git a/openssl/rc2.h b/extension/openssl/rc2.h
index ff633fd..ff633fd 100644
--- a/openssl/rc2.h
+++ b/extension/openssl/rc2.h
diff --git a/openssl/rc4.h b/extension/openssl/rc4.h
index 600b288..600b288 100644
--- a/openssl/rc4.h
+++ b/extension/openssl/rc4.h
diff --git a/openssl/rc5.h b/extension/openssl/rc5.h
index de83352..de83352 100644
--- a/openssl/rc5.h
+++ b/extension/openssl/rc5.h
diff --git a/openssl/ripemd.h b/extension/openssl/ripemd.h
index 900ee31..900ee31 100644
--- a/openssl/ripemd.h
+++ b/extension/openssl/ripemd.h
diff --git a/openssl/rsa.h b/extension/openssl/rsa.h
index d0c9599..d0c9599 100644
--- a/openssl/rsa.h
+++ b/extension/openssl/rsa.h
diff --git a/openssl/rsaerr.h b/extension/openssl/rsaerr.h
index c58463c..c58463c 100644
--- a/openssl/rsaerr.h
+++ b/extension/openssl/rsaerr.h
diff --git a/openssl/safestack.h b/extension/openssl/safestack.h
index 159ccf2..159ccf2 100644
--- a/openssl/safestack.h
+++ b/extension/openssl/safestack.h
diff --git a/openssl/safestack.h.in b/extension/openssl/safestack.h.in
index 6b36607..6b36607 100644
--- a/openssl/safestack.h.in
+++ b/extension/openssl/safestack.h.in
diff --git a/openssl/seed.h b/extension/openssl/seed.h
index edb218a..edb218a 100644
--- a/openssl/seed.h
+++ b/extension/openssl/seed.h
diff --git a/openssl/self_test.h b/extension/openssl/self_test.h
index 337a319..337a319 100644
--- a/openssl/self_test.h
+++ b/extension/openssl/self_test.h
diff --git a/openssl/sha.h b/extension/openssl/sha.h
index 6e65a04..6e65a04 100644
--- a/openssl/sha.h
+++ b/extension/openssl/sha.h
diff --git a/openssl/srp.h b/extension/openssl/srp.h
index a86fa5d..a86fa5d 100644
--- a/openssl/srp.h
+++ b/extension/openssl/srp.h
diff --git a/openssl/srp.h.in b/extension/openssl/srp.h.in
index dfbe845..dfbe845 100644
--- a/openssl/srp.h.in
+++ b/extension/openssl/srp.h.in
diff --git a/openssl/srtp.h b/extension/openssl/srtp.h
index d64606e..d64606e 100644
--- a/openssl/srtp.h
+++ b/extension/openssl/srtp.h
diff --git a/openssl/ssl.h b/extension/openssl/ssl.h
index a9bb58e..a9bb58e 100644
--- a/openssl/ssl.h
+++ b/extension/openssl/ssl.h
diff --git a/openssl/ssl.h.in b/extension/openssl/ssl.h.in
index f03f52f..f03f52f 100644
--- a/openssl/ssl.h.in
+++ b/extension/openssl/ssl.h.in
diff --git a/openssl/ssl2.h b/extension/openssl/ssl2.h
index 428ead0..428ead0 100644
--- a/openssl/ssl2.h
+++ b/extension/openssl/ssl2.h
diff --git a/openssl/ssl3.h b/extension/openssl/ssl3.h
index 49bd51f..49bd51f 100644
--- a/openssl/ssl3.h
+++ b/extension/openssl/ssl3.h
diff --git a/openssl/sslerr.h b/extension/openssl/sslerr.h
index f188255..f188255 100644
--- a/openssl/sslerr.h
+++ b/extension/openssl/sslerr.h
diff --git a/openssl/sslerr_legacy.h b/extension/openssl/sslerr_legacy.h
index ccf6d3b..ccf6d3b 100644
--- a/openssl/sslerr_legacy.h
+++ b/extension/openssl/sslerr_legacy.h
diff --git a/openssl/stack.h b/extension/openssl/stack.h
index f0c5c54..f0c5c54 100644
--- a/openssl/stack.h
+++ b/extension/openssl/stack.h
diff --git a/openssl/store.h b/extension/openssl/store.h
index 3c1445e..3c1445e 100644
--- a/openssl/store.h
+++ b/extension/openssl/store.h
diff --git a/openssl/storeerr.h b/extension/openssl/storeerr.h
index 00529c8..00529c8 100644
--- a/openssl/storeerr.h
+++ b/extension/openssl/storeerr.h
diff --git a/openssl/symhacks.h b/extension/openssl/symhacks.h
index 816f8f9..816f8f9 100644
--- a/openssl/symhacks.h
+++ b/extension/openssl/symhacks.h
diff --git a/openssl/tls1.h b/extension/openssl/tls1.h
index 793155e..793155e 100644
--- a/openssl/tls1.h
+++ b/extension/openssl/tls1.h
diff --git a/openssl/trace.h b/extension/openssl/trace.h
index 97e1385..97e1385 100644
--- a/openssl/trace.h
+++ b/extension/openssl/trace.h
diff --git a/openssl/ts.h b/extension/openssl/ts.h
index 8ff6733..8ff6733 100644
--- a/openssl/ts.h
+++ b/extension/openssl/ts.h
diff --git a/openssl/tserr.h b/extension/openssl/tserr.h
index e1b943e..e1b943e 100644
--- a/openssl/tserr.h
+++ b/extension/openssl/tserr.h
diff --git a/openssl/txt_db.h b/extension/openssl/txt_db.h
index af169a3..af169a3 100644
--- a/openssl/txt_db.h
+++ b/extension/openssl/txt_db.h
diff --git a/openssl/types.h b/extension/openssl/types.h
index 5f9d8c2..5f9d8c2 100644
--- a/openssl/types.h
+++ b/extension/openssl/types.h
diff --git a/openssl/ui.h b/extension/openssl/ui.h
index 835b0eb..835b0eb 100644
--- a/openssl/ui.h
+++ b/extension/openssl/ui.h
diff --git a/openssl/ui.h.in b/extension/openssl/ui.h.in
index eb9a580..eb9a580 100644
--- a/openssl/ui.h.in
+++ b/extension/openssl/ui.h.in
diff --git a/openssl/uierr.h b/extension/openssl/uierr.h
index 473b04e..473b04e 100644
--- a/openssl/uierr.h
+++ b/extension/openssl/uierr.h
diff --git a/openssl/whrlpool.h b/extension/openssl/whrlpool.h
index 05ba463..05ba463 100644
--- a/openssl/whrlpool.h
+++ b/extension/openssl/whrlpool.h
diff --git a/openssl/x509.h b/extension/openssl/x509.h
index e7f086d..e7f086d 100644
--- a/openssl/x509.h
+++ b/extension/openssl/x509.h
diff --git a/openssl/x509.h.in b/extension/openssl/x509.h.in
index d4df2ad..d4df2ad 100644
--- a/openssl/x509.h.in
+++ b/extension/openssl/x509.h.in
diff --git a/openssl/x509_vfy.h b/extension/openssl/x509_vfy.h
index e04df0d..e04df0d 100644
--- a/openssl/x509_vfy.h
+++ b/extension/openssl/x509_vfy.h
diff --git a/openssl/x509_vfy.h.in b/extension/openssl/x509_vfy.h.in
index 80f18bd..80f18bd 100644
--- a/openssl/x509_vfy.h.in
+++ b/extension/openssl/x509_vfy.h.in
diff --git a/openssl/x509err.h b/extension/openssl/x509err.h
index a56facd..a56facd 100644
--- a/openssl/x509err.h
+++ b/extension/openssl/x509err.h
diff --git a/openssl/x509v3.h b/extension/openssl/x509v3.h
index dddc82a..dddc82a 100644
--- a/openssl/x509v3.h
+++ b/extension/openssl/x509v3.h
diff --git a/openssl/x509v3.h.in b/extension/openssl/x509v3.h.in
index e33c9d3..e33c9d3 100644
--- a/openssl/x509v3.h.in
+++ b/extension/openssl/x509v3.h.in
diff --git a/openssl/x509v3err.h b/extension/openssl/x509v3err.h
index 1ae3a56..1ae3a56 100644
--- a/openssl/x509v3err.h
+++ b/extension/openssl/x509v3err.h
diff --git a/opensslmanager.cpp b/extension/opensslmanager.cpp
index 2870f6e..26b783b 100644
--- a/opensslmanager.cpp
+++ b/extension/opensslmanager.cpp
@@ -6,10 +6,13 @@
#include <openssl/sha.h>
#include <openssl/ripemd.h>
+// NEED to convert this to using EVP one of these days...
+// https://www.openssl.org/docs/manmaster/man3/EVP_DigestInit.html
+// -sappho
#define MD5_FILE_BUFFER_SIZE 1024*16
#define MD4_FILE_BUFFER_SIZE 1024*16
-//#define MD2_FILE_BUFFER_SIZE 1024*16
+// #define MD2_FILE_BUFFER_SIZE 1024*16
// #define SHA_FILE_BUFFER_SIZE 1024*16
#define SHA1_FILE_BUFFER_SIZE 1024*16
#define SHA224_FILE_BUFFER_SIZE 1024*16
@@ -283,12 +286,14 @@ bool OpensslManager::HashFile(Openssl_Hash algorithm, FILE *pFile, unsigned char
case Openssl_Hash_MD4:
MD4_File(pFile, output, outlength);
return true;
- //case Openssl_Hash_MD2:
- // MD2_File(pFile, output, outlength);
- // return true;
- //case Openssl_Hash_SHA:
- // SHA_File(pFile, output, outlength);
- // return true;
+ case Openssl_Hash_MD2:
+ //MD2_File(pFile, output, outlength);
+ //return true;
+ return false;
+ case Openssl_Hash_SHA:
+ //SHA_File(pFile, output, outlength);
+ //return true;
+ return false;
case Openssl_Hash_SHA1:
SHA1_File(pFile, output, outlength);
return true;
@@ -329,10 +334,12 @@ bool OpensslManager::HashString(Openssl_Hash algorithm, unsigned char *input, in
// MD2(input, size, output);
// *outlength = MD2_DIGEST_LENGTH;
// return true;
+ return false;
//case Openssl_Hash_SHA:
// SHA(input, size, output);
// *outlength = SHA_DIGEST_LENGTH;
// return true;
+ return false;
case Openssl_Hash_SHA1:
SHA1(input, size, output);
*outlength = SHA_DIGEST_LENGTH;
diff --git a/opensslmanager.h b/extension/opensslmanager.h
index 03c6fc9..03c6fc9 100644
--- a/opensslmanager.h
+++ b/extension/opensslmanager.h
diff --git a/opensslthread.cpp b/extension/opensslthread.cpp
index 84e2286..84e2286 100644
--- a/opensslthread.cpp
+++ b/extension/opensslthread.cpp
diff --git a/opensslthread.h b/extension/opensslthread.h
index 202beeb..202beeb 100644
--- a/opensslthread.h
+++ b/extension/opensslthread.h
diff --git a/sdk/smsdk_config.h b/extension/sdk/smsdk_config.h
index 8cefb2e..250bf33 100644
--- a/sdk/smsdk_config.h
+++ b/extension/sdk/smsdk_config.h
@@ -38,12 +38,12 @@
*/
/* Basic information exposed publicly */
-#define SMEXT_CONF_NAME "cURL Extension"
-#define SMEXT_CONF_DESCRIPTION "cURL Extension"
-#define SMEXT_CONF_VERSION "1.3.0.0"
-#define SMEXT_CONF_AUTHOR "ben"
-#define SMEXT_CONF_URL "http://www.ZombieX2.net/"
-#define SMEXT_CONF_LOGTAG "cURL"
+#define SMEXT_CONF_NAME "NEO cURL Extension"
+#define SMEXT_CONF_DESCRIPTION "NEO cURL Extension"
+#define SMEXT_CONF_VERSION "2.0.0.0"
+#define SMEXT_CONF_AUTHOR "https://sappho.io - formerly ben"
+#define SMEXT_CONF_URL "https://sappho.io - formerly maintained by http://www.ZombieX2.net/"
+#define SMEXT_CONF_LOGTAG "NEO cURL"
#define SMEXT_CONF_LICENSE "GPL"
#define SMEXT_CONF_DATESTRING __DATE__
diff --git a/sdk/smsdk_ext.cpp b/extension/sdk/smsdk_ext.cpp
index d9c49d8..d9c49d8 100644
--- a/sdk/smsdk_ext.cpp
+++ b/extension/sdk/smsdk_ext.cpp
diff --git a/sdk/smsdk_ext.h b/extension/sdk/smsdk_ext.h
index 210db3a..210db3a 100644
--- a/sdk/smsdk_ext.h
+++ b/extension/sdk/smsdk_ext.h
diff --git a/extension/test.sh b/extension/test.sh
new file mode 100644
index 0000000..0e241a9
--- /dev/null
+++ b/extension/test.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+FIX ME
+if ( ! git clone https://github.com/alliedmodders/sourcemod --branch 1.11-dev sm-1.11 --recursive ); then
+ pushd sm-1.11 || echo "COULDNT CD TO SM???"; exit 255
+ echo "test"; pwd;
+ git reset --hard;
+ git fetch
+ git reset --hard FETCH_HEAD
+ git submodule foreach --recursive git reset --hard origin/HEAD
+ pwd
+ popd || echo "COULDNT POPD FROM $(pwd)???"; exit 255;
+ fi;
+fi
diff --git a/scripting/curl_self_test.sp b/pawn/scripting/curl_self_test.sp
index cf7bb43..cf7bb43 100644
--- a/scripting/curl_self_test.sp
+++ b/pawn/scripting/curl_self_test.sp
diff --git a/scripting/include/cURL.inc b/pawn/scripting/include/cURL.inc
index 1d79093..1d79093 100644
--- a/scripting/include/cURL.inc
+++ b/pawn/scripting/include/cURL.inc
diff --git a/scripting/include/cURL_header.inc b/pawn/scripting/include/cURL_header.inc
index cf51cf1..cf51cf1 100644
--- a/scripting/include/cURL_header.inc
+++ b/pawn/scripting/include/cURL_header.inc