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 <firstname.lastname@example.org> Reviewed-by: Tudor Ambarus <email@example.com> Signed-off-by: Herbert Xu <firstname.lastname@example.org>
Showing with 0 additions and 6 deletions