mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 18:50:50 +02:00
Addressed Copilot comments
This commit is contained in:
+5
-3
@@ -8272,10 +8272,12 @@ static int DecodeRsaPssParams(const byte* params, word32 sz,
|
||||
if (ret == 1) {
|
||||
ret = 0;
|
||||
}
|
||||
else {
|
||||
else if (ret >= 0) {
|
||||
WOLFSSL_MSG("DecodeRsaPssParams: trailerField must be 1");
|
||||
if (ret >= 0)
|
||||
ret = ASN_PARSE_E;
|
||||
ret = ASN_PARSE_E;
|
||||
}
|
||||
else {
|
||||
WOLFSSL_MSG("DecodeRsaPssParams: fail at trailer_value");
|
||||
}
|
||||
#else
|
||||
if (ret > 0) {
|
||||
|
||||
Reference in New Issue
Block a user