Reformat comment for readability, 80-col rule, and gcc cleanliness
authorSara Golemon <sgolemon@fb.com>
Tue, 17 Feb 2015 19:45:21 +0000 (11:45 -0800)
committerAlecs King <int@fb.com>
Tue, 3 Mar 2015 03:22:21 +0000 (19:22 -0800)
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

index 4f73260943136d0fa956e40d014d4c95a5909dc1..91ca9bd9cc102e6e92ef7be55a6f4aa3cf9ab573 100644 (file)
@@ -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,