diff --git a/src/include.am b/src/include.am index 557fe8960..55c53022e 100644 --- a/src/include.am +++ b/src/include.am @@ -36,10 +36,9 @@ if BUILD_SHA src_libwolfssl_la_SOURCES += ctaocrypt/src/sha.c endif -# Issue with flag BUILD_SHA512 @TODO -#if BUILD_SHA512 +if BUILD_SHA512 src_libwolfssl_la_SOURCES += ctaocrypt/src/sha512.c -#endif +endif #if BUILD_FIPS src_libwolfssl_la_SOURCES += ctaocrypt/src/fips.c @@ -72,10 +71,9 @@ if BUILD_SHA src_libwolfssl_la_SOURCES += wolfcrypt/src/sha.c endif -# Issue with flag BUILD_SHA512 @TODO -#if BUILD_SHA512 +if BUILD_SHA512 src_libwolfssl_la_SOURCES += wolfcrypt/src/sha512.c -#endif +endif if BUILD_FIPS src_libwolfssl_la_SOURCES += \ diff --git a/testsuite/testsuite.c b/testsuite/testsuite.c index a3c986316..15de6762f 100644 --- a/testsuite/testsuite.c +++ b/testsuite/testsuite.c @@ -2,7 +2,7 @@ * * Copyright (C) 2006-2014 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSL. (formerly known as CyaSSL) * * wolfSSL is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index fb044a64c..e74b6af0c 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -197,6 +197,10 @@ WOLFSSL_API WOLFSSL_METHOD *wolfTLSv1_2_client_method(void); WOLFSSL_API WOLFSSL_METHOD *wolfDTLSv1_2_server_method(void); #endif +#ifdef HAVE_POLY1305 + WOLFSSL_API int wolfSSL_use_old_poly(WOLFSSL*, int); +#endif + #if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) WOLFSSL_API int wolfSSL_CTX_use_certificate_file(WOLFSSL_CTX*, const char*, int); @@ -217,10 +221,6 @@ WOLFSSL_API int wolfSSL_use_RSAPrivateKey_file(WOLFSSL*, const char*, int); const char*, int); #endif -#ifdef HAVE_POLY1305 - WOLFSSL_API int wolfSSL_use_old_poly(WOLFSSL*, int); -#endif - #ifdef HAVE_NTRU WOLFSSL_API int wolfSSL_CTX_use_NTRUPrivateKey_file(WOLFSSL_CTX*, const char*); /* load NTRU private key blob */