Merge pull request #7587 from douzzer/20240524-pq-clang-tidy

20240524-pq-clang-tidy
This commit is contained in:
David Garske 2024-05-24 16:40:11 -07:00 committed by GitHub
commit 200f309e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -489,6 +489,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}
/* Now it is a octet_string(concat(priv,pub)) */

View File

@ -470,6 +470,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}
/* Now it is a octet_string(concat(priv,pub)) */

View File

@ -432,6 +432,7 @@ static int parse_private_key(const byte* priv, word32 privSz,
/* At this point, it is still a PKCS8 private key. */
if ((ret = ToTraditionalInline(priv, &idx, privSz)) < 0) {
/* ignore error, did not have PKCS8 header */
(void)ret;
}
/* Now it is a octet_string(concat(priv,pub)) */