Bug 1535122 - Align TLS 1.3 HKDF trace levels, r=mt NSS_3_43_BRANCH
authorEkr <ekr@rtfm.com>
Thu, 14 Mar 2019 07:57:45 +1100
branchNSS_3_43_BRANCH
changeset 15046 acfa940c8a18e108b9be153f66c7f77119a1b396
parent 15042 740e49c4fb0e63db9877dbf893c48a5a3ae9f103
child 15047 e611b174c065cb744194b916af3ec669ee66169a
push id3296
push userjjones@mozilla.com
push dateWed, 13 Mar 2019 23:53:40 +0000
reviewersmt
bugs1535122
Bug 1535122 - Align TLS 1.3 HKDF trace levels, r=mt
lib/ssl/tls13hkdf.c
--- a/lib/ssl/tls13hkdf.c
+++ b/lib/ssl/tls13hkdf.c
@@ -202,17 +202,17 @@ tls13_HkdfExpandLabel(PK11SymKey *prk, S
                                    CKA_DERIVE, keySize,
                                    CKF_SIGN | CKF_VERIFY);
     if (!derived)
         return SECFailure;
 
     *keyp = derived;
 
 #ifdef TRACE
-    if (ssl_trace >= 10) {
+    if (ssl_trace >= 50) {
         /* Make sure the label is null terminated. */
         char labelStr[100];
         PORT_Memcpy(labelStr, label, labelLen);
         labelStr[labelLen] = 0;
         SSL_TRC(50, ("HKDF Expand: label='tls13 %s',requested length=%d",
                      labelStr, keySize));
     }
     PRINT_KEY(50, (NULL, "PRK", prk));