Commit ced6a586 authored by Committed by Herbert Xu
crypto: dh - Remove pointless checks for NULL 'p' and 'g'
Neither 'p' nor 'g' can be NULL, as they were unpacked using crypto_dh_decode_key(). And it makes no sense for them to be optional. So remove the NULL checks that were copy-and-pasted into both modules. Signed-off-by: Eric Biggers <email@example.com> Reviewed-by: Tudor Ambarus <firstname.lastname@example.org> Signed-off-by: Herbert Xu <email@example.com>
Showing with 0 additions and 6 deletions