From 7210e881a80d9d9719405c8ae2194bb50435e2e4 Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Thu, 29 Jun 2017 15:03:56 +0900 Subject: [PATCH] eliminate empty if body --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index ce056480c..64cc42e93 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -22695,9 +22695,9 @@ int wolfSSL_DH_compute_key(unsigned char* key, WOLFSSL_BIGNUM* otherPub, else { privSz = wolfSSL_BN_bn2bin(dh->priv_key, priv); pubSz = wolfSSL_BN_bn2bin(otherPub, pub); - if (dh->inSet == 0 && SetDhInternal(dh) != SSL_SUCCESS) + if (dh->inSet == 0 && SetDhInternal(dh) != SSL_SUCCESS){ WOLFSSL_MSG("Bad DH set internal"); - + } if (privSz <= 0 || pubSz <= 0) WOLFSSL_MSG("Bad BN2bin set"); else if (wc_DhAgree((DhKey*)dh->internal, key, &keySz,