Skip to content

Commit

Permalink
JNI: correct example MyTls13SecretCallback CLIENT_TRAFFIC_SECRET and …
Browse files Browse the repository at this point in the history
…SERVER_TRAFFIC_SECRET
  • Loading branch information
cconlon committed Apr 25, 2024
1 parent 3dcfb63 commit 6513fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/MyTls13SecretCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ public int tls13SecretCallback(WolfSSLSession ssl, int id, byte[] secret,
} else if (id == WolfSSL.SERVER_HANDSHAKE_TRAFFIC_SECRET) {
str = "SERVER_HANDSHAKE_TRAFFIC_SECRET";
} else if (id == WolfSSL.CLIENT_TRAFFIC_SECRET) {
str = "CLIENT_TRAFFIC_SECRET";
str = "CLIENT_TRAFFIC_SECRET_0";
} else if (id == WolfSSL.SERVER_TRAFFIC_SECRET) {
str = "SERVER_TRAFFIC_SECRET";
str = "SERVER_TRAFFIC_SECRET_0";
} else if (id == WolfSSL.EXPORTER_SECRET) {
str = "EXPORTER_SECRET";
} else {
Expand Down

0 comments on commit 6513fd3

Please sign in to comment.