mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 06:30:49 +02:00
fix call to IsEncryptionOn for session tickets
This commit is contained in:
+1
-1
@@ -12688,7 +12688,7 @@ int DoSessionTicket(WOLFSSL* ssl,
|
||||
ssl->session.ticketLen = 0;
|
||||
}
|
||||
|
||||
if (IsEncryptionOn(ssl)) {
|
||||
if (IsEncryptionOn(ssl, 0)) {
|
||||
*inOutIdx += ssl->keys.padSz;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user