Skip to content

libcurl build files to enable use in Open Enclave applications

License

Notifications You must be signed in to change notification settings

openenclave/openenclave-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openenclave-curl

How to use

The Open Enclave variant of libcurl has to be built as separate project, that is, it cannot be included in CMake projects directly via add_subdirectory. See the <CMakeLists.txt> file on how to do this by using the superbuild pattern. Note that only the library/ folder should be built when using this library in other projects.

After the library is build it can be referenced via the openenclave-curl::libcurl target. See the tests/ project for details on how to do that.

Note that this build of libcurl uses mbedtls as provided by Open Enclave, it does not rely on OpenSSL. It does not make any filesystem accesses either, and so trusted CAs must be manually included in the build, as they are not fetched from the default store. Refer to the tests/ project for an example of how to do that.

Development

To build the library and build/run tests simply build the root CMake project, e.g.

mkdir build
cd build
cmake ..
make

Contributing

Please see Open Enclave contribution guidelines.

Licensing

This project is released under the MIT License.

About

libcurl build files to enable use in Open Enclave applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages