openssl: explicitly ignore BIO_reset() return value
This caused some -Wall errors on certain gcc versions due to BIO_reset() being a macro with explicit cast.cute-signatures
parent
0683b069ba
commit
2433c9d23b
|
@ -101,7 +101,7 @@ int apk_pkey_load(struct apk_pkey *pkey, int dirfd, const char *fn)
|
|||
|
||||
key = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL);
|
||||
if (!key) {
|
||||
BIO_reset(bio);
|
||||
(void)BIO_reset(bio);
|
||||
key = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL);
|
||||
}
|
||||
ERR_clear_error();
|
||||
|
|
Loading…
Reference in New Issue