diff options
author | Timo Teräs <timo.teras@iki.fi> | 2021-06-19 14:42:11 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2021-06-19 14:43:22 +0300 |
commit | 17684141fe9d895361262b10c4c229fbcff6e702 (patch) | |
tree | 4a9d93a2c89cf176c849e7ce61e34a40770abeee /src/trust.c | |
parent | 8d92f9f2aecaf74973c26302ce7ad8f2a32e257f (diff) | |
download | apk-tools-17684141fe9d895361262b10c4c229fbcff6e702.tar.gz apk-tools-17684141fe9d895361262b10c4c229fbcff6e702.tar.bz2 apk-tools-17684141fe9d895361262b10c4c229fbcff6e702.tar.xz apk-tools-17684141fe9d895361262b10c4c229fbcff6e702.zip |
crypto: improve compatibility
EVP_MD_CTX_set_pkey_ctx() is fairly new openssl function, and not
existing in many alternative. Use EVP_MD_CTX_reset() which is slightly
more heavy but more portable. Add also signature buffer lengths to
work with RSA.
Diffstat (limited to 'src/trust.c')
0 files changed, 0 insertions, 0 deletions