mirror of https://github.com/wolfSSL/wolfssl.git
Fix a logic
parent
770b6cb9e7
commit
29482a3e4d
|
@ -1021,6 +1021,7 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
|
||||||
else if (*keyFormat == 0) {
|
else if (*keyFormat == 0) {
|
||||||
WOLFSSL_MSG("Not a Dilithium key");
|
WOLFSSL_MSG("Not a Dilithium key");
|
||||||
/* Unknown format wasn't dilithium, so keep trying other formats. */
|
/* Unknown format wasn't dilithium, so keep trying other formats. */
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Free dynamically allocated data in key. */
|
/* Free dynamically allocated data in key. */
|
||||||
|
|
Loading…
Reference in New Issue