stun

simple point to point tunnel
git clone git://git.2f30.org/stun
Log | Files | Refs | README

commit 0b6bf453be93ceb9d5b741772813d86fcebdaa48
parent f3160b5834b4eef5e9f14e4570f374b972bf5283
Author: sin <sin@2f30.org>
Date:   Tue, 12 Apr 2016 17:40:30 +0100

use libressl version number

Diffstat:
Mcrypto.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/crypto.c b/crypto.c @@ -19,11 +19,7 @@ setcipher(char *name) { "aes-128-gcm", EVP_aead_aes_128_gcm }, { "aes-256-gcm", EVP_aead_aes_256_gcm }, { "chacha20-poly1305", EVP_aead_chacha20_poly1305 }, -#if defined(__OpenBSD__) -#if OpenBSD >= 201605 - { "chacha20-poly1305-ietf", EVP_aead_chacha20_poly1305_ietf }, -#endif -#else +#if LIBRESSL_VERSION_NUMBER >= 0x2030200fL { "chacha20-poly1305-ietf", EVP_aead_chacha20_poly1305_ietf }, #endif { NULL, NULL }