From 6355bb4daf5798ad0de4f9f48d4f9aba2255920d Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 2 Jul 2015 13:52:37 -0700 Subject: [PATCH] remove C++ comments --- src/ssl.c | 5 ----- wolfssl/wolfcrypt/tfm.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 49e7b8ef8..db75781e4 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -13295,8 +13295,6 @@ static int SetECKeyExternal(WOLFSSL_EC_KEY* eckey) return SSL_FATAL_ERROR; } - //eckey->pub_key->internal = (ecc_point*)&(key->pubkey); - /* set the external pubkey (point) */ if (SetECPointExternal(eckey->pub_key) < 0) { WOLFSSL_MSG("SetECKeyExternal SetECPointExternal failed"); @@ -13913,7 +13911,6 @@ int wolfSSL_EC_POINT_get_affine_coordinates_GFp(const WOLFSSL_EC_GROUP *group, c WOLFSSL_BIGNUM *x, WOLFSSL_BIGNUM *y, WOLFSSL_BN_CTX *ctx) { (void)ctx; - //ecc_point *p; WOLFSSL_ENTER("wolfSSL_EC_POINT_get_affine_coordinates_GFp"); @@ -13931,8 +13928,6 @@ int wolfSSL_EC_POINT_get_affine_coordinates_GFp(const WOLFSSL_EC_GROUP *group, c } } - //p = (ecc_point*)point->internal; - BN_copy(x, point->X); BN_copy(y, point->Y); diff --git a/wolfssl/wolfcrypt/tfm.h b/wolfssl/wolfcrypt/tfm.h index 3564f71f9..50e9712e7 100644 --- a/wolfssl/wolfcrypt/tfm.h +++ b/wolfssl/wolfcrypt/tfm.h @@ -235,8 +235,6 @@ * It defaults to 4096-bits [allowing multiplications upto 2048x2048 bits ] */ -/* For DH with 3072 bits key size */ -//#define FP_MAX_BITS 32768 #ifndef FP_MAX_BITS #define FP_MAX_BITS 4096