/openssl-example

Primary LanguageC++MIT LicenseMIT

Example C++ Application using OpenSSL Build Status

Prerequisites

The C++ IDE juCi++ should be installed.

Installing dependencies

Debian based distributions

sudo apt-get install libssl-dev

Arch Linux based distributions

sudo pacman -S openssl

OS X

brew install openssl

Compiling and running

git clone https://github.com/ntnu-tdat3020/openssl-example
cd openssl-example
juci .&

Choose Compile and Run in the Project menu.

Running tests

Alternative 1

In juCi++, open tests/crypto_test.cpp, and choose Compile and Run in the Project menu.

Alternative 2

First, if you have altered tests/crypto_test.cpp, save it. Then, in a terminal:

cd build
make
make test