diff options
| author | Martin Willi <martin@revosec.ch> | 2013-04-09 11:38:51 +0200 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-04-10 18:10:30 +0200 |
| commit | b52771fbb2d25a947204d95fe29882cfc0312ef5 (patch) | |
| tree | 2b1586c3b564859407d04fd68a26183e56ac9431 /src/pki/commands/pub.c | |
| parent | 97d975b7bb7b5112238f07bc4bd49f34bf5b2fcc (diff) | |
| download | strongswan-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/pki/commands/pub.c')
0 files changed, 0 insertions, 0 deletions
