Bug 1535122 - Align TLS 1.3 HKDF trace levels, r=mt
authorEkr <ekr@rtfm.com>
Thu, 14 Mar 2019 07:57:45 +1100
changeset 15044 2292f1b96d97d0a229e1133a601774306965abe7
parent 15043 cf681f9cffd6107ba759d61336328deb1f26f693
child 15045 81275ef77c8d26a984733f7a591aa1792eb9d9a2
push id3295
push usermartin.thomson@gmail.com
push dateWed, 13 Mar 2019 21:14: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));