From 753e1e5a28120608b4be24003039e85b8f58bebd Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 17 Feb 2015 11:45:21 -0800 Subject: [PATCH] Reformat comment for readability, 80-col rule, and gcc cleanliness Summary: The continuation at the end of the line with the while was causing gcc to complain about it because it's a single line comment. Reformat it into a multiline comment and wrap it to 80 chars. Test Plan: It's just a comment... Reviewed By: paulbiss@fb.com Subscribers: trunkagent, folly-diffs@, yfeldblum FB internal diff: D1850876 Signature: t1:1850876:1424124973:b2afbc2a8177ac6d11a21bf5a52093bcfd9cbb3e --- folly/io/async/SSLContext.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/folly/io/async/SSLContext.cpp b/folly/io/async/SSLContext.cpp index 4f732609..91ca9bd9 100644 --- a/folly/io/async/SSLContext.cpp +++ b/folly/io/async/SSLContext.cpp @@ -422,9 +422,15 @@ int SSLContext::advertisedNextProtocolCallback(SSL* ssl, #if defined(SSL_MODE_HANDSHAKE_CUTTHROUGH) && \ FOLLY_SSLCONTEXT_USE_TLS_FALSE_START SSLContext::SSLFalseStartChecker::SSLFalseStartChecker() : - // The list was generated as follows: - // grep "_CK_" openssl-1.0.1e/ssl/s3_lib.c -A 4 | while read A && read B && read C && read D && read E && read F; do echo $A $B $C $D $E; done | \ - // grep "\(SSL_kDHr\|SSL_kDHd\|SSL_kEDH\|SSL_kECDHr\|SSL_kECDHe\|SSL_kEECDH\)" | grep -v SSL_aNULL | grep SSL_AES | awk -F, '{ print $1"," }' + /** + * The list was generated as follows: + * grep "_CK_" openssl-1.0.1e/ssl/s3_lib.c -A 4 | + * while read A && read B && read C && read D && read E && read F; do + * echo $A $B $C $D $E; done | + * grep "\(SSL_kDHr\|SSL_kDHd\|SSL_kEDH\|SSL_kECDHr\| + * SSL_kECDHe\|SSL_kEECDH\)" | grep -v SSL_aNULL | grep SSL_AES | + * awk -F, '{ print $1"," }' + */ ciphers_{ TLS1_CK_DH_DSS_WITH_AES_128_SHA, TLS1_CK_DH_RSA_WITH_AES_128_SHA, -- 2.34.1