Skip to content

A repository that allows you to build and use OpenSSL with Visual Studio

License

Notifications You must be signed in to change notification settings

imahjoub/OpenSSL_withVisualStudio

Repository files navigation

OpenSSL_withVisualStudio

CodeQL Issues Boost Software License 1.0

This repository helps you to build and use OpenSSL with Visual Studio.

The vcxproj file of OpenSSL_Lib is built with help of vcxproj_generator

Using OpenSSL_withVisualStudio

Required tools

  • Visual Studio
  • Install and Make Perl available via the PATH settings
  • Update the path to VS Command Prompt in Build_OpenSSL_Lib.bat (line 13)

Build the library OpenSSL_Lib

In order to generate openssl libs and headers, build the following targets

  • OpenSSL_Lib_Debug
  • OpenSSL_Lib_Release

NB: This project currently only supports openssl-static-libraries with x64-architectures

Use openssl code in visual studio

After generating the libs/headers you can use OpenSSL_Test as a template to get access to the openssl API-functions and code.

OpenSSL_Test project provides a sha256-example