matwii / openssl-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

cd build
make
make test

Alternative 2

First, if you have altered tests/crypto_test.cpp, save it. Then, choose Run Command in the juCi++ Project menu, and run the following command:

cd build && make && make test

Alternative 3

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

About

License:MIT License


Languages

Language:C++ 88.7%Language:CMake 11.3%