forked from wolfSSL/wolfssl
Fix a logic
This commit is contained in:
@ -1021,6 +1021,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
|
||||
else if (*keyFormat == 0) {
|
||||
WOLFSSL_MSG("Not a Dilithium key");
|
||||
/* Unknown format wasn't dilithium, so keep trying other formats. */
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
/* Free dynamically allocated data in key. */
|
||||
|
Reference in New Issue
Block a user