identification: Properly check length before comparing for binary DN equality

Fixes CVE-2013-6075.

Signed-off-by: Daniil Baturin <daniil@baturin.org>
4.5.2-1.1-bpo60+5+hydrogen2