aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pgp/pgp_utils.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-04-09 11:38:51 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-04-10 18:10:30 +0200
commitb52771fbb2d25a947204d95fe29882cfc0312ef5 (patch)
tree2b1586c3b564859407d04fd68a26183e56ac9431 /src/libstrongswan/plugins/pgp/pgp_utils.c
parent97d975b7bb7b5112238f07bc4bd49f34bf5b2fcc (diff)
downloadstrongswan-b52771fbb2d25a947204d95fe29882cfc0312ef5.tar.bz2
strongswan-b52771fbb2d25a947204d95fe29882cfc0312ef5.tar.xz
Check RSA_public_decrypt() length before constructing and comparing a chunk
If decryption fails, it returns -1. chunk_equals() should catch that error, but be more explicit in error checking.
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_utils.c')
0 files changed, 0 insertions, 0 deletions