Attention is currently required from: flichtenheld, plaisthos.
Hello plaisthos, flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1045?usp=email
to review the following change.
Change subject: Removed trailing whitespaces
......................................................................
Removed trailing whitespaces
Change-Id: I8eb1ded62a415a0734de11a4503cffafcc23d9f3
---
M src/openvpn/ssl_openssl.c
M src/openvpn/wolfssl_compat.h
2 files changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/45/1045/1
diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c
index 5dbacf0..29aa502 100644
--- a/src/openvpn/ssl_openssl.c
+++ b/src/openvpn/ssl_openssl.c
@@ -593,7 +593,7 @@
#ifdef ENABLE_CRYPTO_WOLFSSL
int nid = wolfssl_OBJ_sn2nid(token);
-#else
+#else
int nid = OBJ_sn2nid(token);
#endif
diff --git a/src/openvpn/wolfssl_compat.h b/src/openvpn/wolfssl_compat.h
index c16d918..a25e5c3 100644
--- a/src/openvpn/wolfssl_compat.h
+++ b/src/openvpn/wolfssl_compat.h
@@ -31,18 +31,18 @@
#ifdef ENABLE_CRYPTO_WOLFSSL
-int
-wolfssl_OBJ_sn2nid(const char *sn)
+int
+wolfssl_OBJ_sn2nid(const char *sn)
{
- int nid = OBJ_sn2nid(sn);
+ int nid = OBJ_sn2nid(sn);
- if (nid == WC_NID_undef)
- {
- return wolfSSL_EC_curve_nist2nid(sn);
- }
+ if (nid == WC_NID_undef)
+ {
+ return wolfSSL_EC_curve_nist2nid(sn);
+ }
- return WC_NID_undef;
+ return WC_NID_undef;
}
#endif
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1045?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8eb1ded62a415a0734de11a4503cffafcc23d9f3
Gerrit-Change-Number: 1045
Gerrit-PatchSet: 1
Gerrit-Owner: comododragon <rei...@fo...>
Gerrit-Reviewer: flichtenheld <fr...@li...>
Gerrit-Reviewer: plaisthos <arn...@rf...>
Gerrit-CC: openvpn-devel <ope...@li...>
Gerrit-Attention: plaisthos <arn...@rf...>
Gerrit-Attention: flichtenheld <fr...@li...>
Gerrit-MessageType: newchange
|