hane 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/binding.gyp +87 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +1 -0
- package/package.json +33 -0
- package/src/native/addon.cc +231 -0
- package/src/native/zsign_driver.cc +87 -0
- package/src/native/zsign_driver.h +38 -0
- package/vendor/zlib/.cmake-format.yaml +245 -0
- package/vendor/zlib/.github/workflows/c-std.yml +230 -0
- package/vendor/zlib/.github/workflows/cmake.yml +112 -0
- package/vendor/zlib/.github/workflows/configure.yml +136 -0
- package/vendor/zlib/.github/workflows/fuzz.yml +25 -0
- package/vendor/zlib/.github/workflows/msys-cygwin.yml +77 -0
- package/vendor/zlib/BUILD.bazel +134 -0
- package/vendor/zlib/CMakeLists.txt +330 -0
- package/vendor/zlib/ChangeLog +1621 -0
- package/vendor/zlib/FAQ +367 -0
- package/vendor/zlib/INDEX +68 -0
- package/vendor/zlib/LICENSE +22 -0
- package/vendor/zlib/MODULE.bazel +9 -0
- package/vendor/zlib/Makefile.in +419 -0
- package/vendor/zlib/README +115 -0
- package/vendor/zlib/README-cmake.md +83 -0
- package/vendor/zlib/adler32.c +164 -0
- package/vendor/zlib/amiga/Makefile.pup +69 -0
- package/vendor/zlib/amiga/Makefile.sas +68 -0
- package/vendor/zlib/compress.c +75 -0
- package/vendor/zlib/configure +966 -0
- package/vendor/zlib/contrib/README.contrib +57 -0
- package/vendor/zlib/contrib/ada/buffer_demo.adb +106 -0
- package/vendor/zlib/contrib/ada/mtest.adb +156 -0
- package/vendor/zlib/contrib/ada/read.adb +156 -0
- package/vendor/zlib/contrib/ada/readme.txt +65 -0
- package/vendor/zlib/contrib/ada/test.adb +463 -0
- package/vendor/zlib/contrib/ada/zlib-streams.adb +225 -0
- package/vendor/zlib/contrib/ada/zlib-streams.ads +114 -0
- package/vendor/zlib/contrib/ada/zlib-thin.adb +142 -0
- package/vendor/zlib/contrib/ada/zlib-thin.ads +450 -0
- package/vendor/zlib/contrib/ada/zlib.adb +701 -0
- package/vendor/zlib/contrib/ada/zlib.ads +328 -0
- package/vendor/zlib/contrib/ada/zlib.gpr +20 -0
- package/vendor/zlib/contrib/blast/Makefile +8 -0
- package/vendor/zlib/contrib/blast/README +4 -0
- package/vendor/zlib/contrib/blast/blast.c +466 -0
- package/vendor/zlib/contrib/blast/blast.h +83 -0
- package/vendor/zlib/contrib/blast/test.pk +0 -0
- package/vendor/zlib/contrib/blast/test.txt +1 -0
- package/vendor/zlib/contrib/delphi/ZLib.pas +557 -0
- package/vendor/zlib/contrib/delphi/ZLibConst.pas +11 -0
- package/vendor/zlib/contrib/delphi/readme.txt +76 -0
- package/vendor/zlib/contrib/delphi/zlibd32.mak +99 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs +58 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs +202 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs +83 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/CodecBase.cs +198 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/Deflater.cs +106 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.cs +288 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj +141 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/GZipStream.cs +301 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/Inflater.cs +105 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib/UnitTests.cs +274 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.build +33 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.chm +0 -0
- package/vendor/zlib/contrib/dotzlib/DotZLib.sln +21 -0
- package/vendor/zlib/contrib/dotzlib/LICENSE_1_0.txt +23 -0
- package/vendor/zlib/contrib/dotzlib/readme.txt +58 -0
- package/vendor/zlib/contrib/gcc_gvmat64/gvmat64.S +574 -0
- package/vendor/zlib/contrib/infback9/README +1 -0
- package/vendor/zlib/contrib/infback9/infback9.c +603 -0
- package/vendor/zlib/contrib/infback9/infback9.h +37 -0
- package/vendor/zlib/contrib/infback9/inffix9.h +107 -0
- package/vendor/zlib/contrib/infback9/inflate9.h +47 -0
- package/vendor/zlib/contrib/infback9/inftree9.c +319 -0
- package/vendor/zlib/contrib/infback9/inftree9.h +61 -0
- package/vendor/zlib/contrib/iostream/test.cpp +24 -0
- package/vendor/zlib/contrib/iostream/zfstream.cpp +329 -0
- package/vendor/zlib/contrib/iostream/zfstream.h +128 -0
- package/vendor/zlib/contrib/iostream2/zstream.h +307 -0
- package/vendor/zlib/contrib/iostream2/zstream_test.cpp +25 -0
- package/vendor/zlib/contrib/iostream3/README +35 -0
- package/vendor/zlib/contrib/iostream3/TODO +17 -0
- package/vendor/zlib/contrib/iostream3/test.cc +50 -0
- package/vendor/zlib/contrib/iostream3/zfstream.cc +479 -0
- package/vendor/zlib/contrib/iostream3/zfstream.h +466 -0
- package/vendor/zlib/contrib/minizip/CMakeLists.txt +380 -0
- package/vendor/zlib/contrib/minizip/Makefile +37 -0
- package/vendor/zlib/contrib/minizip/Makefile.am +45 -0
- package/vendor/zlib/contrib/minizip/MiniZip64_Changes.txt +6 -0
- package/vendor/zlib/contrib/minizip/MiniZip64_info.txt +74 -0
- package/vendor/zlib/contrib/minizip/configure.ac +32 -0
- package/vendor/zlib/contrib/minizip/crypt.h +128 -0
- package/vendor/zlib/contrib/minizip/ints.h +57 -0
- package/vendor/zlib/contrib/minizip/ioapi.c +231 -0
- package/vendor/zlib/contrib/minizip/ioapi.h +183 -0
- package/vendor/zlib/contrib/minizip/iowin32.c +448 -0
- package/vendor/zlib/contrib/minizip/iowin32.h +28 -0
- package/vendor/zlib/contrib/minizip/make_vms.com +25 -0
- package/vendor/zlib/contrib/minizip/miniunz.c +647 -0
- package/vendor/zlib/contrib/minizip/miniunzip.1 +63 -0
- package/vendor/zlib/contrib/minizip/minizip.1 +46 -0
- package/vendor/zlib/contrib/minizip/minizip.c +512 -0
- package/vendor/zlib/contrib/minizip/minizip.pc.in +12 -0
- package/vendor/zlib/contrib/minizip/minizip.pc.txt +13 -0
- package/vendor/zlib/contrib/minizip/minizipConfig.cmake.in +35 -0
- package/vendor/zlib/contrib/minizip/mztools.c +288 -0
- package/vendor/zlib/contrib/minizip/mztools.h +37 -0
- package/vendor/zlib/contrib/minizip/skipset.h +361 -0
- package/vendor/zlib/contrib/minizip/test/CMakeLists.txt +121 -0
- package/vendor/zlib/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in +29 -0
- package/vendor/zlib/contrib/minizip/test/add_subdirectory_test.cmake.in +28 -0
- package/vendor/zlib/contrib/minizip/test/find_package_test.cmake.in +25 -0
- package/vendor/zlib/contrib/minizip/test/test_helper.cm +32 -0
- package/vendor/zlib/contrib/minizip/unzip.c +1981 -0
- package/vendor/zlib/contrib/minizip/unzip.h +441 -0
- package/vendor/zlib/contrib/minizip/zip.c +2199 -0
- package/vendor/zlib/contrib/minizip/zip.h +370 -0
- package/vendor/zlib/contrib/nuget/nuget.csproj +43 -0
- package/vendor/zlib/contrib/nuget/nuget.sln +22 -0
- package/vendor/zlib/contrib/pascal/example.pas +599 -0
- package/vendor/zlib/contrib/pascal/readme.txt +76 -0
- package/vendor/zlib/contrib/pascal/zlibd32.mak +99 -0
- package/vendor/zlib/contrib/pascal/zlibpas.pas +276 -0
- package/vendor/zlib/contrib/puff/Makefile +42 -0
- package/vendor/zlib/contrib/puff/README +63 -0
- package/vendor/zlib/contrib/puff/puff.c +840 -0
- package/vendor/zlib/contrib/puff/puff.h +35 -0
- package/vendor/zlib/contrib/puff/pufftest.c +169 -0
- package/vendor/zlib/contrib/puff/zeros.raw +0 -0
- package/vendor/zlib/contrib/testzlib/testzlib.c +275 -0
- package/vendor/zlib/contrib/testzlib/testzlib.txt +10 -0
- package/vendor/zlib/contrib/untgz/Makefile +14 -0
- package/vendor/zlib/contrib/untgz/Makefile.msc +17 -0
- package/vendor/zlib/contrib/untgz/untgz.c +667 -0
- package/vendor/zlib/contrib/vstudio/readme.txt +81 -0
- package/vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj +310 -0
- package/vendor/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj +307 -0
- package/vendor/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj +412 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters +55 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj +310 -0
- package/vendor/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters +22 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj +449 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters +74 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.sln +135 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj +633 -0
- package/vendor/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters +115 -0
- package/vendor/zlib/contrib/vstudio/vc11/miniunz.vcxproj +314 -0
- package/vendor/zlib/contrib/vstudio/vc11/minizip.vcxproj +311 -0
- package/vendor/zlib/contrib/vstudio/vc11/testzlib.vcxproj +418 -0
- package/vendor/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj +314 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibstat.vcxproj +456 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.sln +117 -0
- package/vendor/zlib/contrib/vstudio/vc11/zlibvc.vcxproj +664 -0
- package/vendor/zlib/contrib/vstudio/vc12/miniunz.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc12/minizip.vcxproj +313 -0
- package/vendor/zlib/contrib/vstudio/vc12/testzlib.vcxproj +422 -0
- package/vendor/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibstat.vcxproj +459 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.sln +119 -0
- package/vendor/zlib/contrib/vstudio/vc12/zlibvc.vcxproj +668 -0
- package/vendor/zlib/contrib/vstudio/vc14/miniunz.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc14/minizip.vcxproj +313 -0
- package/vendor/zlib/contrib/vstudio/vc14/testzlib.vcxproj +422 -0
- package/vendor/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj +316 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibstat.vcxproj +459 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.sln +119 -0
- package/vendor/zlib/contrib/vstudio/vc14/zlibvc.vcxproj +668 -0
- package/vendor/zlib/contrib/vstudio/vc17/miniunz.vcxproj +409 -0
- package/vendor/zlib/contrib/vstudio/vc17/minizip.vcxproj +405 -0
- package/vendor/zlib/contrib/vstudio/vc17/testzlib.vcxproj +473 -0
- package/vendor/zlib/contrib/vstudio/vc17/testzlibdll.vcxproj +409 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibstat.vcxproj +602 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.sln +179 -0
- package/vendor/zlib/contrib/vstudio/vc17/zlibvc.vcxproj +875 -0
- package/vendor/zlib/contrib/vstudio/vc9/miniunz.vcproj +565 -0
- package/vendor/zlib/contrib/vstudio/vc9/minizip.vcproj +562 -0
- package/vendor/zlib/contrib/vstudio/vc9/testzlib.vcproj +796 -0
- package/vendor/zlib/contrib/vstudio/vc9/testzlibdll.vcproj +565 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlib.rc +32 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibstat.vcproj +781 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.def +161 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.sln +144 -0
- package/vendor/zlib/contrib/vstudio/vc9/zlibvc.vcproj +1100 -0
- package/vendor/zlib/crc32.c +1049 -0
- package/vendor/zlib/crc32.h +9446 -0
- package/vendor/zlib/deflate.c +2152 -0
- package/vendor/zlib/deflate.h +380 -0
- package/vendor/zlib/doc/algorithm.txt +209 -0
- package/vendor/zlib/doc/crc-doc.1.0.pdf +0 -0
- package/vendor/zlib/doc/rfc1950.txt +619 -0
- package/vendor/zlib/doc/rfc1951.txt +955 -0
- package/vendor/zlib/doc/rfc1952.txt +675 -0
- package/vendor/zlib/doc/txtvsbin.txt +107 -0
- package/vendor/zlib/examples/README.examples +54 -0
- package/vendor/zlib/examples/enough.c +597 -0
- package/vendor/zlib/examples/fitblk.c +233 -0
- package/vendor/zlib/examples/gun.c +702 -0
- package/vendor/zlib/examples/gzappend.c +504 -0
- package/vendor/zlib/examples/gzjoin.c +449 -0
- package/vendor/zlib/examples/gzlog.c +1061 -0
- package/vendor/zlib/examples/gzlog.h +91 -0
- package/vendor/zlib/examples/gznorm.c +474 -0
- package/vendor/zlib/examples/zlib_how.html +549 -0
- package/vendor/zlib/examples/zpipe.c +209 -0
- package/vendor/zlib/examples/zran.c +550 -0
- package/vendor/zlib/examples/zran.h +53 -0
- package/vendor/zlib/gzclose.c +23 -0
- package/vendor/zlib/gzguts.h +215 -0
- package/vendor/zlib/gzlib.c +585 -0
- package/vendor/zlib/gzread.c +603 -0
- package/vendor/zlib/gzwrite.c +631 -0
- package/vendor/zlib/infback.c +628 -0
- package/vendor/zlib/inffast.c +320 -0
- package/vendor/zlib/inffast.h +11 -0
- package/vendor/zlib/inffixed.h +94 -0
- package/vendor/zlib/inflate.c +1526 -0
- package/vendor/zlib/inflate.h +126 -0
- package/vendor/zlib/inftrees.c +299 -0
- package/vendor/zlib/inftrees.h +62 -0
- package/vendor/zlib/make_vms.com +867 -0
- package/vendor/zlib/msdos/Makefile.bor +115 -0
- package/vendor/zlib/msdos/Makefile.dj2 +104 -0
- package/vendor/zlib/msdos/Makefile.emx +69 -0
- package/vendor/zlib/msdos/Makefile.msc +112 -0
- package/vendor/zlib/msdos/Makefile.tc +100 -0
- package/vendor/zlib/nintendods/Makefile +126 -0
- package/vendor/zlib/nintendods/README +5 -0
- package/vendor/zlib/old/Makefile.emx +69 -0
- package/vendor/zlib/old/Makefile.riscos +151 -0
- package/vendor/zlib/old/README +3 -0
- package/vendor/zlib/old/descrip.mms +48 -0
- package/vendor/zlib/old/os2/Makefile.os2 +136 -0
- package/vendor/zlib/old/os2/zlib.def +51 -0
- package/vendor/zlib/old/visual-basic.txt +160 -0
- package/vendor/zlib/os400/README400 +48 -0
- package/vendor/zlib/os400/bndsrc +133 -0
- package/vendor/zlib/os400/make.sh +366 -0
- package/vendor/zlib/os400/zlib.inc +531 -0
- package/vendor/zlib/qnx/package.qpg +141 -0
- package/vendor/zlib/test/CMakeLists.txt +265 -0
- package/vendor/zlib/test/add_subdirectory_exclude_test.cmake.in +29 -0
- package/vendor/zlib/test/add_subdirectory_test.cmake.in +28 -0
- package/vendor/zlib/test/example.c +552 -0
- package/vendor/zlib/test/find_package_test.cmake.in +26 -0
- package/vendor/zlib/test/infcover.c +672 -0
- package/vendor/zlib/test/minigzip.c +590 -0
- package/vendor/zlib/treebuild.xml +116 -0
- package/vendor/zlib/trees.c +1119 -0
- package/vendor/zlib/trees.h +128 -0
- package/vendor/zlib/uncompr.c +85 -0
- package/vendor/zlib/watcom/watcom_f.mak +43 -0
- package/vendor/zlib/watcom/watcom_l.mak +43 -0
- package/vendor/zlib/win32/DLL_FAQ.txt +381 -0
- package/vendor/zlib/win32/Makefile.bor +109 -0
- package/vendor/zlib/win32/Makefile.gcc +177 -0
- package/vendor/zlib/win32/Makefile.msc +159 -0
- package/vendor/zlib/win32/README-WIN32.txt +103 -0
- package/vendor/zlib/win32/VisualC.txt +3 -0
- package/vendor/zlib/win32/zlib.def +98 -0
- package/vendor/zlib/win32/zlib1.rc +37 -0
- package/vendor/zlib/zconf.h.in +544 -0
- package/vendor/zlib/zlib.3 +149 -0
- package/vendor/zlib/zlib.3.pdf +0 -0
- package/vendor/zlib/zlib.h +1957 -0
- package/vendor/zlib/zlib.map +104 -0
- package/vendor/zlib/zlib.pc.cmakein +13 -0
- package/vendor/zlib/zlib.pc.in +13 -0
- package/vendor/zlib/zlibConfig.cmake.in +26 -0
- package/vendor/zlib/zutil.c +299 -0
- package/vendor/zlib/zutil.h +257 -0
- package/vendor/zsign/.gitattributes +4 -0
- package/vendor/zsign/LICENSE +21 -0
- package/vendor/zsign/README.md +142 -0
- package/vendor/zsign/build/linux/Makefile +43 -0
- package/vendor/zsign/build/macos/Makefile +43 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/crypt.h +128 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/ioapi.h +216 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/iowin32.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/mztools.h +37 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/unzip.h +437 -0
- package/vendor/zsign/build/windows/vs2022/include/minizip/zip.h +364 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/__DECC_INCLUDE_EPILOGUE.H +22 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/__DECC_INCLUDE_PROLOGUE.H +26 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/aes.h +111 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/applink.c +153 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1.h +1133 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1_mac.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1err.h +142 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asn1t.h +946 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/async.h +104 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/asyncerr.h +29 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bio.h +1015 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bioerr.h +72 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/blowfish.h +78 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bn.h +590 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/bnerr.h +47 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/buffer.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/buffererr.h +25 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/camellia.h +117 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cast.h +71 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmac.h +52 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmp.h +727 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmp_util.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmperr.h +131 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cms.h +508 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cmserr.h +125 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/comp.h +98 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/comperr.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conf.h +214 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conf_api.h +46 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conferr.h +52 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/configuration.h +188 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/conftypes.h +44 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core.h +236 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_dispatch.h +1022 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_names.h +545 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/core_object.h +41 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crmf.h +260 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crmferr.h +50 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/crypto.h +580 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cryptoerr.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cryptoerr_legacy.h +1466 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ct.h +573 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/cterr.h +45 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/decoder.h +133 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/decodererr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/des.h +211 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dh.h +339 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dherr.h +59 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dsa.h +280 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dsaerr.h +44 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/dtls1.h +57 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/e_os2.h +310 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/e_ostime.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ebcdic.h +39 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ec.h +1588 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecdh.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecdsa.h +10 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ecerr.h +104 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/encoder.h +124 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/encodererr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/engine.h +833 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/engineerr.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/err.h +512 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ess.h +128 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/esserr.h +32 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/evp.h +2231 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/evperr.h +140 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/fips_names.h +50 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/fipskey.h +41 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/hmac.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/hpke.h +169 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/http.h +118 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/httperr.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/idea.h +82 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/indicator.h +31 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/kdf.h +138 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/kdferr.h +16 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/lhash.h +398 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/macros.h +338 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md2.h +56 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md4.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/md5.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/mdc2.h +55 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/modes.h +219 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/obj_mac.h +5820 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/objects.h +184 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/objectserr.h +28 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ocsp.h +483 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ocsperr.h +53 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/opensslconf.h +17 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/opensslv.h +114 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ossl_typ.h +16 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/param_build.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/params.h +160 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pem.h +543 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pem2.h +19 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pemerr.h +58 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs12.h +366 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs12err.h +46 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs7.h +430 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/pkcs7err.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/prov_ssl.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/proverr.h +162 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/provider.h +66 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/quic.h +70 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rand.h +125 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/randerr.h +69 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc2.h +68 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc4.h +47 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rc5.h +79 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ripemd.h +59 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rsa.h +615 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/rsaerr.h +107 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/safestack.h +297 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/seed.h +113 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/self_test.h +98 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sha.h +139 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/srp.h +285 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/srtp.h +68 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl.h +2878 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl2.h +30 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ssl3.h +357 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sslerr.h +379 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/sslerr_legacy.h +467 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/stack.h +90 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/store.h +377 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/storeerr.h +49 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/symhacks.h +39 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/thread.h +31 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/tls1.h +1220 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/trace.h +320 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ts.h +522 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/tserr.h +67 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/txt_db.h +63 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/types.h +245 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/ui.h +407 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/uierr.h +38 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/whrlpool.h +62 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509.h +1304 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509_acert.h +263 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509_vfy.h +902 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509err.h +70 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509v3.h +1500 -0
- package/vendor/zsign/build/windows/vs2022/include/openssl/x509v3err.h +96 -0
- package/vendor/zsign/build/windows/vs2022/include/zlib/zconf.h +553 -0
- package/vendor/zsign/build/windows/vs2022/include/zlib/zlib.h +1938 -0
- package/vendor/zsign/build/windows/vs2022/lib/minizip/x64/mt/minizip.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/openssl/x64/mt/libcrypto.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/openssl/x64/mt/libssl.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/lib/zlib/x64/mt/zlib.lib +0 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/common_win32.h +44 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/getopt.cpp +69 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/getopt.h +20 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/iconv.cpp +138 -0
- package/vendor/zsign/build/windows/vs2022/zsign/src/iconv.h +38 -0
- package/vendor/zsign/build/windows/vs2022/zsign/zsign.vcxproj +177 -0
- package/vendor/zsign/build/windows/vs2022/zsign/zsign.vcxproj.filters +120 -0
- package/vendor/zsign/build/windows/vs2022/zsign.sln +28 -0
- package/vendor/zsign/src/archo.cpp +742 -0
- package/vendor/zsign/src/archo.h +61 -0
- package/vendor/zsign/src/bundle.cpp +589 -0
- package/vendor/zsign/src/bundle.h +46 -0
- package/vendor/zsign/src/common/archive.cpp +246 -0
- package/vendor/zsign/src/common/archive.h +22 -0
- package/vendor/zsign/src/common/base64.cpp +166 -0
- package/vendor/zsign/src/common/base64.h +30 -0
- package/vendor/zsign/src/common/common.h +56 -0
- package/vendor/zsign/src/common/fs.cpp +573 -0
- package/vendor/zsign/src/common/fs.h +50 -0
- package/vendor/zsign/src/common/json.cpp +3380 -0
- package/vendor/zsign/src/common/json.h +530 -0
- package/vendor/zsign/src/common/log.cpp +145 -0
- package/vendor/zsign/src/common/log.h +37 -0
- package/vendor/zsign/src/common/mach-o.h +585 -0
- package/vendor/zsign/src/common/sha.cpp +133 -0
- package/vendor/zsign/src/common/sha.h +24 -0
- package/vendor/zsign/src/common/timer.cpp +28 -0
- package/vendor/zsign/src/common/timer.h +17 -0
- package/vendor/zsign/src/common/util.cpp +185 -0
- package/vendor/zsign/src/common/util.h +25 -0
- package/vendor/zsign/src/macho.cpp +273 -0
- package/vendor/zsign/src/macho.h +38 -0
- package/vendor/zsign/src/openssl.cpp +698 -0
- package/vendor/zsign/src/openssl.h +71 -0
- package/vendor/zsign/src/signing.cpp +745 -0
- package/vendor/zsign/src/signing.h +59 -0
- package/vendor/zsign/src/zsign.cpp +317 -0
- package/vendor/zsign/test/dylib/bin/demo1.dylib +0 -0
- package/vendor/zsign/test/dylib/bin/demo2.dylib +0 -0
- package/vendor/zsign/test/dylib/demo/Makefile +12 -0
- package/vendor/zsign/test/dylib/demo/control +9 -0
- package/vendor/zsign/test/dylib/demo/demo.m +21 -0
- package/vendor/zsign/test/linux/test.sh +19 -0
- package/vendor/zsign/test/macos/test.sh +19 -0
- package/vendor/zsign/test/windows/test.ps1 +17 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2015-2024 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
6
|
+
* in the file LICENSE in the source distribution or at
|
|
7
|
+
* https://www.openssl.org/source/license.html
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
#ifndef OPENSSL_COMP_H
|
|
13
|
+
# define OPENSSL_COMP_H
|
|
14
|
+
# pragma once
|
|
15
|
+
|
|
16
|
+
# include <openssl/macros.h>
|
|
17
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
18
|
+
# define HEADER_COMP_H
|
|
19
|
+
# endif
|
|
20
|
+
|
|
21
|
+
# include <openssl/opensslconf.h>
|
|
22
|
+
|
|
23
|
+
# include <openssl/crypto.h>
|
|
24
|
+
# include <openssl/comperr.h>
|
|
25
|
+
# ifdef __cplusplus
|
|
26
|
+
extern "C" {
|
|
27
|
+
# endif
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# ifndef OPENSSL_NO_COMP
|
|
32
|
+
|
|
33
|
+
COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
|
|
34
|
+
const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx);
|
|
35
|
+
int COMP_CTX_get_type(const COMP_CTX* comp);
|
|
36
|
+
int COMP_get_type(const COMP_METHOD *meth);
|
|
37
|
+
const char *COMP_get_name(const COMP_METHOD *meth);
|
|
38
|
+
void COMP_CTX_free(COMP_CTX *ctx);
|
|
39
|
+
|
|
40
|
+
int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
|
41
|
+
unsigned char *in, int ilen);
|
|
42
|
+
int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
|
43
|
+
unsigned char *in, int ilen);
|
|
44
|
+
|
|
45
|
+
COMP_METHOD *COMP_zlib(void);
|
|
46
|
+
COMP_METHOD *COMP_zlib_oneshot(void);
|
|
47
|
+
COMP_METHOD *COMP_brotli(void);
|
|
48
|
+
COMP_METHOD *COMP_brotli_oneshot(void);
|
|
49
|
+
COMP_METHOD *COMP_zstd(void);
|
|
50
|
+
COMP_METHOD *COMP_zstd_oneshot(void);
|
|
51
|
+
|
|
52
|
+
# ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
53
|
+
# define COMP_zlib_cleanup() while(0) continue
|
|
54
|
+
# endif
|
|
55
|
+
|
|
56
|
+
# ifdef OPENSSL_BIO_H
|
|
57
|
+
const BIO_METHOD *BIO_f_zlib(void);
|
|
58
|
+
const BIO_METHOD *BIO_f_brotli(void);
|
|
59
|
+
const BIO_METHOD *BIO_f_zstd(void);
|
|
60
|
+
# endif
|
|
61
|
+
|
|
62
|
+
# endif
|
|
63
|
+
|
|
64
|
+
typedef struct ssl_comp_st SSL_COMP;
|
|
65
|
+
|
|
66
|
+
SKM_DEFINE_STACK_OF_INTERNAL(SSL_COMP, SSL_COMP, SSL_COMP)
|
|
67
|
+
#define sk_SSL_COMP_num(sk) OPENSSL_sk_num(ossl_check_const_SSL_COMP_sk_type(sk))
|
|
68
|
+
#define sk_SSL_COMP_value(sk, idx) ((SSL_COMP *)OPENSSL_sk_value(ossl_check_const_SSL_COMP_sk_type(sk), (idx)))
|
|
69
|
+
#define sk_SSL_COMP_new(cmp) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new(ossl_check_SSL_COMP_compfunc_type(cmp)))
|
|
70
|
+
#define sk_SSL_COMP_new_null() ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new_null())
|
|
71
|
+
#define sk_SSL_COMP_new_reserve(cmp, n) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_new_reserve(ossl_check_SSL_COMP_compfunc_type(cmp), (n)))
|
|
72
|
+
#define sk_SSL_COMP_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_SSL_COMP_sk_type(sk), (n))
|
|
73
|
+
#define sk_SSL_COMP_free(sk) OPENSSL_sk_free(ossl_check_SSL_COMP_sk_type(sk))
|
|
74
|
+
#define sk_SSL_COMP_zero(sk) OPENSSL_sk_zero(ossl_check_SSL_COMP_sk_type(sk))
|
|
75
|
+
#define sk_SSL_COMP_delete(sk, i) ((SSL_COMP *)OPENSSL_sk_delete(ossl_check_SSL_COMP_sk_type(sk), (i)))
|
|
76
|
+
#define sk_SSL_COMP_delete_ptr(sk, ptr) ((SSL_COMP *)OPENSSL_sk_delete_ptr(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr)))
|
|
77
|
+
#define sk_SSL_COMP_push(sk, ptr) OPENSSL_sk_push(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
|
|
78
|
+
#define sk_SSL_COMP_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
|
|
79
|
+
#define sk_SSL_COMP_pop(sk) ((SSL_COMP *)OPENSSL_sk_pop(ossl_check_SSL_COMP_sk_type(sk)))
|
|
80
|
+
#define sk_SSL_COMP_shift(sk) ((SSL_COMP *)OPENSSL_sk_shift(ossl_check_SSL_COMP_sk_type(sk)))
|
|
81
|
+
#define sk_SSL_COMP_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_SSL_COMP_sk_type(sk),ossl_check_SSL_COMP_freefunc_type(freefunc))
|
|
82
|
+
#define sk_SSL_COMP_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr), (idx))
|
|
83
|
+
#define sk_SSL_COMP_set(sk, idx, ptr) ((SSL_COMP *)OPENSSL_sk_set(ossl_check_SSL_COMP_sk_type(sk), (idx), ossl_check_SSL_COMP_type(ptr)))
|
|
84
|
+
#define sk_SSL_COMP_find(sk, ptr) OPENSSL_sk_find(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
|
|
85
|
+
#define sk_SSL_COMP_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr))
|
|
86
|
+
#define sk_SSL_COMP_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_type(ptr), pnum)
|
|
87
|
+
#define sk_SSL_COMP_sort(sk) OPENSSL_sk_sort(ossl_check_SSL_COMP_sk_type(sk))
|
|
88
|
+
#define sk_SSL_COMP_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_SSL_COMP_sk_type(sk))
|
|
89
|
+
#define sk_SSL_COMP_dup(sk) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_dup(ossl_check_const_SSL_COMP_sk_type(sk)))
|
|
90
|
+
#define sk_SSL_COMP_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(SSL_COMP) *)OPENSSL_sk_deep_copy(ossl_check_const_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_copyfunc_type(copyfunc), ossl_check_SSL_COMP_freefunc_type(freefunc)))
|
|
91
|
+
#define sk_SSL_COMP_set_cmp_func(sk, cmp) ((sk_SSL_COMP_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_SSL_COMP_sk_type(sk), ossl_check_SSL_COMP_compfunc_type(cmp)))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
# ifdef __cplusplus
|
|
96
|
+
}
|
|
97
|
+
# endif
|
|
98
|
+
#endif
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
+
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
6
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
7
|
+
* in the file LICENSE in the source distribution or at
|
|
8
|
+
* https://www.openssl.org/source/license.html
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef OPENSSL_COMPERR_H
|
|
12
|
+
# define OPENSSL_COMPERR_H
|
|
13
|
+
# pragma once
|
|
14
|
+
|
|
15
|
+
# include <openssl/opensslconf.h>
|
|
16
|
+
# include <openssl/symhacks.h>
|
|
17
|
+
# include <openssl/cryptoerr_legacy.h>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# ifndef OPENSSL_NO_COMP
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/*
|
|
24
|
+
* COMP reason codes.
|
|
25
|
+
*/
|
|
26
|
+
# define COMP_R_BROTLI_DECODE_ERROR 102
|
|
27
|
+
# define COMP_R_BROTLI_ENCODE_ERROR 103
|
|
28
|
+
# define COMP_R_BROTLI_NOT_SUPPORTED 104
|
|
29
|
+
# define COMP_R_ZLIB_DEFLATE_ERROR 99
|
|
30
|
+
# define COMP_R_ZLIB_INFLATE_ERROR 100
|
|
31
|
+
# define COMP_R_ZLIB_NOT_SUPPORTED 101
|
|
32
|
+
# define COMP_R_ZSTD_COMPRESS_ERROR 105
|
|
33
|
+
# define COMP_R_ZSTD_DECODE_ERROR 106
|
|
34
|
+
# define COMP_R_ZSTD_DECOMPRESS_ERROR 107
|
|
35
|
+
# define COMP_R_ZSTD_NOT_SUPPORTED 108
|
|
36
|
+
|
|
37
|
+
# endif
|
|
38
|
+
#endif
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by makefile from include\openssl\conf.h.in
|
|
4
|
+
*
|
|
5
|
+
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
#ifndef OPENSSL_CONF_H
|
|
16
|
+
# define OPENSSL_CONF_H
|
|
17
|
+
# pragma once
|
|
18
|
+
|
|
19
|
+
# include <openssl/macros.h>
|
|
20
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
21
|
+
# define HEADER_CONF_H
|
|
22
|
+
# endif
|
|
23
|
+
|
|
24
|
+
# include <openssl/bio.h>
|
|
25
|
+
# include <openssl/lhash.h>
|
|
26
|
+
# include <openssl/safestack.h>
|
|
27
|
+
# include <openssl/e_os2.h>
|
|
28
|
+
# include <openssl/types.h>
|
|
29
|
+
# include <openssl/conferr.h>
|
|
30
|
+
# ifndef OPENSSL_NO_STDIO
|
|
31
|
+
# include <stdio.h>
|
|
32
|
+
# endif
|
|
33
|
+
|
|
34
|
+
#ifdef __cplusplus
|
|
35
|
+
extern "C" {
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
typedef struct {
|
|
39
|
+
char *section;
|
|
40
|
+
char *name;
|
|
41
|
+
char *value;
|
|
42
|
+
} CONF_VALUE;
|
|
43
|
+
|
|
44
|
+
SKM_DEFINE_STACK_OF_INTERNAL(CONF_VALUE, CONF_VALUE, CONF_VALUE)
|
|
45
|
+
#define sk_CONF_VALUE_num(sk) OPENSSL_sk_num(ossl_check_const_CONF_VALUE_sk_type(sk))
|
|
46
|
+
#define sk_CONF_VALUE_value(sk, idx) ((CONF_VALUE *)OPENSSL_sk_value(ossl_check_const_CONF_VALUE_sk_type(sk), (idx)))
|
|
47
|
+
#define sk_CONF_VALUE_new(cmp) ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_new(ossl_check_CONF_VALUE_compfunc_type(cmp)))
|
|
48
|
+
#define sk_CONF_VALUE_new_null() ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_new_null())
|
|
49
|
+
#define sk_CONF_VALUE_new_reserve(cmp, n) ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_new_reserve(ossl_check_CONF_VALUE_compfunc_type(cmp), (n)))
|
|
50
|
+
#define sk_CONF_VALUE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_CONF_VALUE_sk_type(sk), (n))
|
|
51
|
+
#define sk_CONF_VALUE_free(sk) OPENSSL_sk_free(ossl_check_CONF_VALUE_sk_type(sk))
|
|
52
|
+
#define sk_CONF_VALUE_zero(sk) OPENSSL_sk_zero(ossl_check_CONF_VALUE_sk_type(sk))
|
|
53
|
+
#define sk_CONF_VALUE_delete(sk, i) ((CONF_VALUE *)OPENSSL_sk_delete(ossl_check_CONF_VALUE_sk_type(sk), (i)))
|
|
54
|
+
#define sk_CONF_VALUE_delete_ptr(sk, ptr) ((CONF_VALUE *)OPENSSL_sk_delete_ptr(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr)))
|
|
55
|
+
#define sk_CONF_VALUE_push(sk, ptr) OPENSSL_sk_push(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr))
|
|
56
|
+
#define sk_CONF_VALUE_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr))
|
|
57
|
+
#define sk_CONF_VALUE_pop(sk) ((CONF_VALUE *)OPENSSL_sk_pop(ossl_check_CONF_VALUE_sk_type(sk)))
|
|
58
|
+
#define sk_CONF_VALUE_shift(sk) ((CONF_VALUE *)OPENSSL_sk_shift(ossl_check_CONF_VALUE_sk_type(sk)))
|
|
59
|
+
#define sk_CONF_VALUE_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_CONF_VALUE_sk_type(sk),ossl_check_CONF_VALUE_freefunc_type(freefunc))
|
|
60
|
+
#define sk_CONF_VALUE_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr), (idx))
|
|
61
|
+
#define sk_CONF_VALUE_set(sk, idx, ptr) ((CONF_VALUE *)OPENSSL_sk_set(ossl_check_CONF_VALUE_sk_type(sk), (idx), ossl_check_CONF_VALUE_type(ptr)))
|
|
62
|
+
#define sk_CONF_VALUE_find(sk, ptr) OPENSSL_sk_find(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr))
|
|
63
|
+
#define sk_CONF_VALUE_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr))
|
|
64
|
+
#define sk_CONF_VALUE_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_type(ptr), pnum)
|
|
65
|
+
#define sk_CONF_VALUE_sort(sk) OPENSSL_sk_sort(ossl_check_CONF_VALUE_sk_type(sk))
|
|
66
|
+
#define sk_CONF_VALUE_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_CONF_VALUE_sk_type(sk))
|
|
67
|
+
#define sk_CONF_VALUE_dup(sk) ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_dup(ossl_check_const_CONF_VALUE_sk_type(sk)))
|
|
68
|
+
#define sk_CONF_VALUE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(CONF_VALUE) *)OPENSSL_sk_deep_copy(ossl_check_const_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_copyfunc_type(copyfunc), ossl_check_CONF_VALUE_freefunc_type(freefunc)))
|
|
69
|
+
#define sk_CONF_VALUE_set_cmp_func(sk, cmp) ((sk_CONF_VALUE_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_CONF_VALUE_sk_type(sk), ossl_check_CONF_VALUE_compfunc_type(cmp)))
|
|
70
|
+
DEFINE_LHASH_OF_INTERNAL(CONF_VALUE);
|
|
71
|
+
#define lh_CONF_VALUE_new(hfn, cmp) ((LHASH_OF(CONF_VALUE) *)OPENSSL_LH_set_thunks(OPENSSL_LH_new(ossl_check_CONF_VALUE_lh_hashfunc_type(hfn), ossl_check_CONF_VALUE_lh_compfunc_type(cmp)), lh_CONF_VALUE_hash_thunk, lh_CONF_VALUE_comp_thunk, lh_CONF_VALUE_doall_thunk, lh_CONF_VALUE_doall_arg_thunk))
|
|
72
|
+
#define lh_CONF_VALUE_free(lh) OPENSSL_LH_free(ossl_check_CONF_VALUE_lh_type(lh))
|
|
73
|
+
#define lh_CONF_VALUE_flush(lh) OPENSSL_LH_flush(ossl_check_CONF_VALUE_lh_type(lh))
|
|
74
|
+
#define lh_CONF_VALUE_insert(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_insert(ossl_check_CONF_VALUE_lh_type(lh), ossl_check_CONF_VALUE_lh_plain_type(ptr)))
|
|
75
|
+
#define lh_CONF_VALUE_delete(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_delete(ossl_check_CONF_VALUE_lh_type(lh), ossl_check_const_CONF_VALUE_lh_plain_type(ptr)))
|
|
76
|
+
#define lh_CONF_VALUE_retrieve(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_retrieve(ossl_check_CONF_VALUE_lh_type(lh), ossl_check_const_CONF_VALUE_lh_plain_type(ptr)))
|
|
77
|
+
#define lh_CONF_VALUE_error(lh) OPENSSL_LH_error(ossl_check_CONF_VALUE_lh_type(lh))
|
|
78
|
+
#define lh_CONF_VALUE_num_items(lh) OPENSSL_LH_num_items(ossl_check_CONF_VALUE_lh_type(lh))
|
|
79
|
+
#define lh_CONF_VALUE_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_CONF_VALUE_lh_type(lh), out)
|
|
80
|
+
#define lh_CONF_VALUE_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_CONF_VALUE_lh_type(lh), out)
|
|
81
|
+
#define lh_CONF_VALUE_stats_bio(lh, out) OPENSSL_LH_stats_bio(ossl_check_const_CONF_VALUE_lh_type(lh), out)
|
|
82
|
+
#define lh_CONF_VALUE_get_down_load(lh) OPENSSL_LH_get_down_load(ossl_check_CONF_VALUE_lh_type(lh))
|
|
83
|
+
#define lh_CONF_VALUE_set_down_load(lh, dl) OPENSSL_LH_set_down_load(ossl_check_CONF_VALUE_lh_type(lh), dl)
|
|
84
|
+
#define lh_CONF_VALUE_doall(lh, dfn) OPENSSL_LH_doall(ossl_check_CONF_VALUE_lh_type(lh), ossl_check_CONF_VALUE_lh_doallfunc_type(dfn))
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
struct conf_st;
|
|
88
|
+
struct conf_method_st;
|
|
89
|
+
typedef struct conf_method_st CONF_METHOD;
|
|
90
|
+
|
|
91
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
92
|
+
# include <openssl/conftypes.h>
|
|
93
|
+
# endif
|
|
94
|
+
|
|
95
|
+
/* Module definitions */
|
|
96
|
+
typedef struct conf_imodule_st CONF_IMODULE;
|
|
97
|
+
typedef struct conf_module_st CONF_MODULE;
|
|
98
|
+
|
|
99
|
+
STACK_OF(CONF_MODULE);
|
|
100
|
+
STACK_OF(CONF_IMODULE);
|
|
101
|
+
|
|
102
|
+
/* DSO module function typedefs */
|
|
103
|
+
typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
|
|
104
|
+
typedef void conf_finish_func (CONF_IMODULE *md);
|
|
105
|
+
|
|
106
|
+
# define CONF_MFLAGS_IGNORE_ERRORS 0x1
|
|
107
|
+
# define CONF_MFLAGS_IGNORE_RETURN_CODES 0x2
|
|
108
|
+
# define CONF_MFLAGS_SILENT 0x4
|
|
109
|
+
# define CONF_MFLAGS_NO_DSO 0x8
|
|
110
|
+
# define CONF_MFLAGS_IGNORE_MISSING_FILE 0x10
|
|
111
|
+
# define CONF_MFLAGS_DEFAULT_SECTION 0x20
|
|
112
|
+
|
|
113
|
+
int CONF_set_default_method(CONF_METHOD *meth);
|
|
114
|
+
void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
|
|
115
|
+
LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
|
|
116
|
+
long *eline);
|
|
117
|
+
# ifndef OPENSSL_NO_STDIO
|
|
118
|
+
LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
|
|
119
|
+
long *eline);
|
|
120
|
+
# endif
|
|
121
|
+
LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
|
|
122
|
+
long *eline);
|
|
123
|
+
STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
|
|
124
|
+
const char *section);
|
|
125
|
+
char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
|
|
126
|
+
const char *name);
|
|
127
|
+
long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
|
|
128
|
+
const char *name);
|
|
129
|
+
void CONF_free(LHASH_OF(CONF_VALUE) *conf);
|
|
130
|
+
#ifndef OPENSSL_NO_STDIO
|
|
131
|
+
int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
|
|
132
|
+
#endif
|
|
133
|
+
int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);
|
|
134
|
+
#ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
135
|
+
OSSL_DEPRECATEDIN_1_1_0 void OPENSSL_config(const char *config_name);
|
|
136
|
+
#endif
|
|
137
|
+
|
|
138
|
+
#ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
139
|
+
# define OPENSSL_no_config() \
|
|
140
|
+
OPENSSL_init_crypto(OPENSSL_INIT_NO_LOAD_CONFIG, NULL)
|
|
141
|
+
#endif
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
* New conf code. The semantics are different from the functions above. If
|
|
145
|
+
* that wasn't the case, the above functions would have been replaced
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
CONF *NCONF_new_ex(OSSL_LIB_CTX *libctx, CONF_METHOD *meth);
|
|
149
|
+
OSSL_LIB_CTX *NCONF_get0_libctx(const CONF *conf);
|
|
150
|
+
CONF *NCONF_new(CONF_METHOD *meth);
|
|
151
|
+
CONF_METHOD *NCONF_default(void);
|
|
152
|
+
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
153
|
+
OSSL_DEPRECATEDIN_3_0 CONF_METHOD *NCONF_WIN32(void);
|
|
154
|
+
#endif
|
|
155
|
+
void NCONF_free(CONF *conf);
|
|
156
|
+
void NCONF_free_data(CONF *conf);
|
|
157
|
+
|
|
158
|
+
int NCONF_load(CONF *conf, const char *file, long *eline);
|
|
159
|
+
# ifndef OPENSSL_NO_STDIO
|
|
160
|
+
int NCONF_load_fp(CONF *conf, FILE *fp, long *eline);
|
|
161
|
+
# endif
|
|
162
|
+
int NCONF_load_bio(CONF *conf, BIO *bp, long *eline);
|
|
163
|
+
STACK_OF(OPENSSL_CSTRING) *NCONF_get_section_names(const CONF *conf);
|
|
164
|
+
STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf,
|
|
165
|
+
const char *section);
|
|
166
|
+
char *NCONF_get_string(const CONF *conf, const char *group, const char *name);
|
|
167
|
+
int NCONF_get_number_e(const CONF *conf, const char *group, const char *name,
|
|
168
|
+
long *result);
|
|
169
|
+
#ifndef OPENSSL_NO_STDIO
|
|
170
|
+
int NCONF_dump_fp(const CONF *conf, FILE *out);
|
|
171
|
+
#endif
|
|
172
|
+
int NCONF_dump_bio(const CONF *conf, BIO *out);
|
|
173
|
+
|
|
174
|
+
#define NCONF_get_number(c,g,n,r) NCONF_get_number_e(c,g,n,r)
|
|
175
|
+
|
|
176
|
+
/* Module functions */
|
|
177
|
+
|
|
178
|
+
int CONF_modules_load(const CONF *cnf, const char *appname,
|
|
179
|
+
unsigned long flags);
|
|
180
|
+
int CONF_modules_load_file_ex(OSSL_LIB_CTX *libctx, const char *filename,
|
|
181
|
+
const char *appname, unsigned long flags);
|
|
182
|
+
int CONF_modules_load_file(const char *filename, const char *appname,
|
|
183
|
+
unsigned long flags);
|
|
184
|
+
void CONF_modules_unload(int all);
|
|
185
|
+
void CONF_modules_finish(void);
|
|
186
|
+
#ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
|
187
|
+
# define CONF_modules_free() while(0) continue
|
|
188
|
+
#endif
|
|
189
|
+
int CONF_module_add(const char *name, conf_init_func *ifunc,
|
|
190
|
+
conf_finish_func *ffunc);
|
|
191
|
+
|
|
192
|
+
const char *CONF_imodule_get_name(const CONF_IMODULE *md);
|
|
193
|
+
const char *CONF_imodule_get_value(const CONF_IMODULE *md);
|
|
194
|
+
void *CONF_imodule_get_usr_data(const CONF_IMODULE *md);
|
|
195
|
+
void CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data);
|
|
196
|
+
CONF_MODULE *CONF_imodule_get_module(const CONF_IMODULE *md);
|
|
197
|
+
unsigned long CONF_imodule_get_flags(const CONF_IMODULE *md);
|
|
198
|
+
void CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags);
|
|
199
|
+
void *CONF_module_get_usr_data(CONF_MODULE *pmod);
|
|
200
|
+
void CONF_module_set_usr_data(CONF_MODULE *pmod, void *usr_data);
|
|
201
|
+
|
|
202
|
+
char *CONF_get1_default_config_file(void);
|
|
203
|
+
|
|
204
|
+
int CONF_parse_list(const char *list, int sep, int nospc,
|
|
205
|
+
int (*list_cb) (const char *elem, int len, void *usr),
|
|
206
|
+
void *arg);
|
|
207
|
+
|
|
208
|
+
void OPENSSL_load_builtin_modules(void);
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
# ifdef __cplusplus
|
|
212
|
+
}
|
|
213
|
+
# endif
|
|
214
|
+
#endif
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
6
|
+
* in the file LICENSE in the source distribution or at
|
|
7
|
+
* https://www.openssl.org/source/license.html
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef OPENSSL_CONF_API_H
|
|
11
|
+
# define OPENSSL_CONF_API_H
|
|
12
|
+
# pragma once
|
|
13
|
+
|
|
14
|
+
# include <openssl/macros.h>
|
|
15
|
+
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
|
16
|
+
# define HEADER_CONF_API_H
|
|
17
|
+
# endif
|
|
18
|
+
|
|
19
|
+
# include <openssl/lhash.h>
|
|
20
|
+
# include <openssl/conf.h>
|
|
21
|
+
|
|
22
|
+
#ifdef __cplusplus
|
|
23
|
+
extern "C" {
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
/* Up until OpenSSL 0.9.5a, this was new_section */
|
|
27
|
+
CONF_VALUE *_CONF_new_section(CONF *conf, const char *section);
|
|
28
|
+
/* Up until OpenSSL 0.9.5a, this was get_section */
|
|
29
|
+
CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section);
|
|
30
|
+
/* Up until OpenSSL 0.9.5a, this was CONF_get_section */
|
|
31
|
+
STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
|
|
32
|
+
const char *section);
|
|
33
|
+
|
|
34
|
+
int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
|
|
35
|
+
char *_CONF_get_string(const CONF *conf, const char *section,
|
|
36
|
+
const char *name);
|
|
37
|
+
long _CONF_get_number(const CONF *conf, const char *section,
|
|
38
|
+
const char *name);
|
|
39
|
+
|
|
40
|
+
int _CONF_new_data(CONF *conf);
|
|
41
|
+
void _CONF_free_data(CONF *conf);
|
|
42
|
+
|
|
43
|
+
#ifdef __cplusplus
|
|
44
|
+
}
|
|
45
|
+
#endif
|
|
46
|
+
#endif
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
+
* Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
6
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
7
|
+
* in the file LICENSE in the source distribution or at
|
|
8
|
+
* https://www.openssl.org/source/license.html
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef OPENSSL_CONFERR_H
|
|
12
|
+
# define OPENSSL_CONFERR_H
|
|
13
|
+
# pragma once
|
|
14
|
+
|
|
15
|
+
# include <openssl/opensslconf.h>
|
|
16
|
+
# include <openssl/symhacks.h>
|
|
17
|
+
# include <openssl/cryptoerr_legacy.h>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* CONF reason codes.
|
|
23
|
+
*/
|
|
24
|
+
# define CONF_R_ERROR_LOADING_DSO 110
|
|
25
|
+
# define CONF_R_INVALID_PRAGMA 122
|
|
26
|
+
# define CONF_R_LIST_CANNOT_BE_NULL 115
|
|
27
|
+
# define CONF_R_MANDATORY_BRACES_IN_VARIABLE_EXPANSION 123
|
|
28
|
+
# define CONF_R_MISSING_CLOSE_SQUARE_BRACKET 100
|
|
29
|
+
# define CONF_R_MISSING_EQUAL_SIGN 101
|
|
30
|
+
# define CONF_R_MISSING_INIT_FUNCTION 112
|
|
31
|
+
# define CONF_R_MODULE_INITIALIZATION_ERROR 109
|
|
32
|
+
# define CONF_R_NO_CLOSE_BRACE 102
|
|
33
|
+
# define CONF_R_NO_CONF 105
|
|
34
|
+
# define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE 106
|
|
35
|
+
# define CONF_R_NO_SECTION 107
|
|
36
|
+
# define CONF_R_NO_SUCH_FILE 114
|
|
37
|
+
# define CONF_R_NO_VALUE 108
|
|
38
|
+
# define CONF_R_NUMBER_TOO_LARGE 121
|
|
39
|
+
# define CONF_R_OPENSSL_CONF_REFERENCES_MISSING_SECTION 124
|
|
40
|
+
# define CONF_R_RECURSIVE_DIRECTORY_INCLUDE 111
|
|
41
|
+
# define CONF_R_RECURSIVE_SECTION_REFERENCE 126
|
|
42
|
+
# define CONF_R_RELATIVE_PATH 125
|
|
43
|
+
# define CONF_R_SSL_COMMAND_SECTION_EMPTY 117
|
|
44
|
+
# define CONF_R_SSL_COMMAND_SECTION_NOT_FOUND 118
|
|
45
|
+
# define CONF_R_SSL_SECTION_EMPTY 119
|
|
46
|
+
# define CONF_R_SSL_SECTION_NOT_FOUND 120
|
|
47
|
+
# define CONF_R_UNABLE_TO_CREATE_NEW_SECTION 103
|
|
48
|
+
# define CONF_R_UNKNOWN_MODULE_NAME 113
|
|
49
|
+
# define CONF_R_VARIABLE_EXPANSION_TOO_LONG 116
|
|
50
|
+
# define CONF_R_VARIABLE_HAS_NO_VALUE 104
|
|
51
|
+
|
|
52
|
+
#endif
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by configdata.pm from Configurations\common0.tmpl, Configurations\windows-makefile.tmpl
|
|
4
|
+
* via makefile.in
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
9
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
10
|
+
* in the file LICENSE in the source distribution or at
|
|
11
|
+
* https://www.openssl.org/source/license.html
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
#ifndef OPENSSL_CONFIGURATION_H
|
|
15
|
+
# define OPENSSL_CONFIGURATION_H
|
|
16
|
+
# pragma once
|
|
17
|
+
|
|
18
|
+
# ifdef __cplusplus
|
|
19
|
+
extern "C" {
|
|
20
|
+
# endif
|
|
21
|
+
|
|
22
|
+
# ifdef OPENSSL_ALGORITHM_DEFINES
|
|
23
|
+
# error OPENSSL_ALGORITHM_DEFINES no longer supported
|
|
24
|
+
# endif
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* OpenSSL was configured with the following options:
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
# ifndef OPENSSL_SYS_WIN64A
|
|
31
|
+
# define OPENSSL_SYS_WIN64A 1
|
|
32
|
+
# endif
|
|
33
|
+
# define OPENSSL_CONFIGURED_API 30400
|
|
34
|
+
# ifndef OPENSSL_RAND_SEED_OS
|
|
35
|
+
# define OPENSSL_RAND_SEED_OS
|
|
36
|
+
# endif
|
|
37
|
+
# ifndef OPENSSL_THREADS
|
|
38
|
+
# define OPENSSL_THREADS
|
|
39
|
+
# endif
|
|
40
|
+
# ifndef OPENSSL_NO_ACVP_TESTS
|
|
41
|
+
# define OPENSSL_NO_ACVP_TESTS
|
|
42
|
+
# endif
|
|
43
|
+
# ifndef OPENSSL_NO_AFALGENG
|
|
44
|
+
# define OPENSSL_NO_AFALGENG
|
|
45
|
+
# endif
|
|
46
|
+
# ifndef OPENSSL_NO_APPS
|
|
47
|
+
# define OPENSSL_NO_APPS
|
|
48
|
+
# endif
|
|
49
|
+
# ifndef OPENSSL_NO_ASAN
|
|
50
|
+
# define OPENSSL_NO_ASAN
|
|
51
|
+
# endif
|
|
52
|
+
# ifndef OPENSSL_NO_BROTLI
|
|
53
|
+
# define OPENSSL_NO_BROTLI
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef OPENSSL_NO_BROTLI_DYNAMIC
|
|
56
|
+
# define OPENSSL_NO_BROTLI_DYNAMIC
|
|
57
|
+
# endif
|
|
58
|
+
# ifndef OPENSSL_NO_CRYPTO_MDEBUG
|
|
59
|
+
# define OPENSSL_NO_CRYPTO_MDEBUG
|
|
60
|
+
# endif
|
|
61
|
+
# ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
|
|
62
|
+
# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
|
|
63
|
+
# endif
|
|
64
|
+
# ifndef OPENSSL_NO_DEMOS
|
|
65
|
+
# define OPENSSL_NO_DEMOS
|
|
66
|
+
# endif
|
|
67
|
+
# ifndef OPENSSL_NO_DEVCRYPTOENG
|
|
68
|
+
# define OPENSSL_NO_DEVCRYPTOENG
|
|
69
|
+
# endif
|
|
70
|
+
# ifndef OPENSSL_NO_DOCS
|
|
71
|
+
# define OPENSSL_NO_DOCS
|
|
72
|
+
# endif
|
|
73
|
+
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
|
|
74
|
+
# define OPENSSL_NO_EC_NISTP_64_GCC_128
|
|
75
|
+
# endif
|
|
76
|
+
# ifndef OPENSSL_NO_EGD
|
|
77
|
+
# define OPENSSL_NO_EGD
|
|
78
|
+
# endif
|
|
79
|
+
# ifndef OPENSSL_NO_EXTERNAL_TESTS
|
|
80
|
+
# define OPENSSL_NO_EXTERNAL_TESTS
|
|
81
|
+
# endif
|
|
82
|
+
# ifndef OPENSSL_NO_FIPS_POST
|
|
83
|
+
# define OPENSSL_NO_FIPS_POST
|
|
84
|
+
# endif
|
|
85
|
+
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
|
|
86
|
+
# define OPENSSL_NO_FIPS_SECURITYCHECKS
|
|
87
|
+
# endif
|
|
88
|
+
# ifndef OPENSSL_NO_FUZZ_AFL
|
|
89
|
+
# define OPENSSL_NO_FUZZ_AFL
|
|
90
|
+
# endif
|
|
91
|
+
# ifndef OPENSSL_NO_FUZZ_LIBFUZZER
|
|
92
|
+
# define OPENSSL_NO_FUZZ_LIBFUZZER
|
|
93
|
+
# endif
|
|
94
|
+
# ifndef OPENSSL_NO_H3DEMO
|
|
95
|
+
# define OPENSSL_NO_H3DEMO
|
|
96
|
+
# endif
|
|
97
|
+
# ifndef OPENSSL_NO_JITTER
|
|
98
|
+
# define OPENSSL_NO_JITTER
|
|
99
|
+
# endif
|
|
100
|
+
# ifndef OPENSSL_NO_KTLS
|
|
101
|
+
# define OPENSSL_NO_KTLS
|
|
102
|
+
# endif
|
|
103
|
+
# ifndef OPENSSL_NO_LOADERENG
|
|
104
|
+
# define OPENSSL_NO_LOADERENG
|
|
105
|
+
# endif
|
|
106
|
+
# ifndef OPENSSL_NO_MD2
|
|
107
|
+
# define OPENSSL_NO_MD2
|
|
108
|
+
# endif
|
|
109
|
+
# ifndef OPENSSL_NO_MSAN
|
|
110
|
+
# define OPENSSL_NO_MSAN
|
|
111
|
+
# endif
|
|
112
|
+
# ifndef OPENSSL_NO_PIE
|
|
113
|
+
# define OPENSSL_NO_PIE
|
|
114
|
+
# endif
|
|
115
|
+
# ifndef OPENSSL_NO_RC5
|
|
116
|
+
# define OPENSSL_NO_RC5
|
|
117
|
+
# endif
|
|
118
|
+
# ifndef OPENSSL_NO_SCTP
|
|
119
|
+
# define OPENSSL_NO_SCTP
|
|
120
|
+
# endif
|
|
121
|
+
# ifndef OPENSSL_NO_SSL3
|
|
122
|
+
# define OPENSSL_NO_SSL3
|
|
123
|
+
# endif
|
|
124
|
+
# ifndef OPENSSL_NO_SSL3_METHOD
|
|
125
|
+
# define OPENSSL_NO_SSL3_METHOD
|
|
126
|
+
# endif
|
|
127
|
+
# ifndef OPENSSL_NO_TESTS
|
|
128
|
+
# define OPENSSL_NO_TESTS
|
|
129
|
+
# endif
|
|
130
|
+
# ifndef OPENSSL_NO_TFO
|
|
131
|
+
# define OPENSSL_NO_TFO
|
|
132
|
+
# endif
|
|
133
|
+
# ifndef OPENSSL_NO_TRACE
|
|
134
|
+
# define OPENSSL_NO_TRACE
|
|
135
|
+
# endif
|
|
136
|
+
# ifndef OPENSSL_NO_UBSAN
|
|
137
|
+
# define OPENSSL_NO_UBSAN
|
|
138
|
+
# endif
|
|
139
|
+
# ifndef OPENSSL_NO_UNIT_TEST
|
|
140
|
+
# define OPENSSL_NO_UNIT_TEST
|
|
141
|
+
# endif
|
|
142
|
+
# ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
|
|
143
|
+
# define OPENSSL_NO_WEAK_SSL_CIPHERS
|
|
144
|
+
# endif
|
|
145
|
+
# ifndef OPENSSL_NO_ZLIB
|
|
146
|
+
# define OPENSSL_NO_ZLIB
|
|
147
|
+
# endif
|
|
148
|
+
# ifndef OPENSSL_NO_ZLIB_DYNAMIC
|
|
149
|
+
# define OPENSSL_NO_ZLIB_DYNAMIC
|
|
150
|
+
# endif
|
|
151
|
+
# ifndef OPENSSL_NO_ZSTD
|
|
152
|
+
# define OPENSSL_NO_ZSTD
|
|
153
|
+
# endif
|
|
154
|
+
# ifndef OPENSSL_NO_ZSTD_DYNAMIC
|
|
155
|
+
# define OPENSSL_NO_ZSTD_DYNAMIC
|
|
156
|
+
# endif
|
|
157
|
+
# ifndef OPENSSL_NO_DYNAMIC_ENGINE
|
|
158
|
+
# define OPENSSL_NO_DYNAMIC_ENGINE
|
|
159
|
+
# endif
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/* Generate 80386 code? */
|
|
163
|
+
# undef I386_ONLY
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* The following are cipher-specific, but are part of the public API.
|
|
167
|
+
*/
|
|
168
|
+
# if !defined(OPENSSL_SYS_UEFI)
|
|
169
|
+
# undef BN_LLONG
|
|
170
|
+
/* Only one for the following should be defined */
|
|
171
|
+
# undef SIXTY_FOUR_BIT_LONG
|
|
172
|
+
# define SIXTY_FOUR_BIT
|
|
173
|
+
# undef THIRTY_TWO_BIT
|
|
174
|
+
# endif
|
|
175
|
+
|
|
176
|
+
# define RC4_INT unsigned int
|
|
177
|
+
|
|
178
|
+
# if defined(OPENSSL_NO_COMP) || (defined(OPENSSL_NO_BROTLI) && defined(OPENSSL_NO_ZSTD) && defined(OPENSSL_NO_ZLIB))
|
|
179
|
+
# define OPENSSL_NO_COMP_ALG
|
|
180
|
+
# else
|
|
181
|
+
# undef OPENSSL_NO_COMP_ALG
|
|
182
|
+
# endif
|
|
183
|
+
|
|
184
|
+
# ifdef __cplusplus
|
|
185
|
+
}
|
|
186
|
+
# endif
|
|
187
|
+
|
|
188
|
+
#endif /* OPENSSL_CONFIGURATION_H */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
6
|
+
* in the file LICENSE in the source distribution or at
|
|
7
|
+
* https://www.openssl.org/source/license.html
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef OPENSSL_CONFTYPES_H
|
|
11
|
+
# define OPENSSL_CONFTYPES_H
|
|
12
|
+
# pragma once
|
|
13
|
+
|
|
14
|
+
#ifndef OPENSSL_CONF_H
|
|
15
|
+
# include <openssl/conf.h>
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* The contents of this file are deprecated and will be made opaque
|
|
20
|
+
*/
|
|
21
|
+
struct conf_method_st {
|
|
22
|
+
const char *name;
|
|
23
|
+
CONF *(*create) (CONF_METHOD *meth);
|
|
24
|
+
int (*init) (CONF *conf);
|
|
25
|
+
int (*destroy) (CONF *conf);
|
|
26
|
+
int (*destroy_data) (CONF *conf);
|
|
27
|
+
int (*load_bio) (CONF *conf, BIO *bp, long *eline);
|
|
28
|
+
int (*dump) (const CONF *conf, BIO *bp);
|
|
29
|
+
int (*is_number) (const CONF *conf, char c);
|
|
30
|
+
int (*to_int) (const CONF *conf, char c);
|
|
31
|
+
int (*load) (CONF *conf, const char *name, long *eline);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
struct conf_st {
|
|
35
|
+
CONF_METHOD *meth;
|
|
36
|
+
void *meth_data;
|
|
37
|
+
LHASH_OF(CONF_VALUE) *data;
|
|
38
|
+
int flag_dollarid;
|
|
39
|
+
int flag_abspath;
|
|
40
|
+
char *includedir;
|
|
41
|
+
OSSL_LIB_CTX *libctx;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
#endif
|