summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2021-12-13 11:25:51 +0100
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2021-12-13 11:25:51 +0100
commitf8cf8a339d08f04c0078eedca080896d318f35fd (patch)
tree9da165fba3a5a7def36d7adbfe36f3223472ac98 /openpgp/src/crypto
parentcfcf4b19311ace6e1ed9994bc9488f48a69474c3 (diff)
net: Use Content-Type header to pass hash algorithm
This change aligns Private Key Store support to the newest version and changes how the hash algorithm is passed. Previously it was in the query parameters and the routine to add that parameter was prone to abuse on malformed input. Passing the correct algorithm in the `Content-Type` header is cleaner and simpler for both clients and servers.
Diffstat (limited to 'openpgp/src/crypto')
0 files changed, 0 insertions, 0 deletions