tree-wide: remove unnecessary __UNCONST usage.

This commit is contained in:
Érico Rolim
2020-12-05 20:15:48 -03:00
committed by Duncan Overbruck
parent 1e39f21f51
commit 47df729bcc
5 changed files with 4 additions and 12 deletions

View File

@ -83,7 +83,7 @@ xbps_pubkey2fp(struct xbps_handle *xhp, xbps_data_t pubkey)
mdctx = EVP_MD_CTX_new();
assert(mdctx);
pubkeydata = xbps_data_data_nocopy(pubkey);
bio = BIO_new_mem_buf(__UNCONST(pubkeydata), xbps_data_size(pubkey));
bio = BIO_new_mem_buf(pubkeydata, xbps_data_size(pubkey));
assert(bio);
pPubKey = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL);