asn1/a_int.c: remove code duplicate and optimize branches,
authorAndy Polyakov <appro@openssl.org>
Tue, 11 Apr 2017 21:15:55 +0000 (23:15 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 25 Apr 2017 21:53:45 +0000 (23:53 +0200)
commitd2cbb39524e0c970b9808dc1ea372cfaa6fef685
tree49d6839a95dae6cc8b08e8da4730498c7fdbd6da
parentbb22c4057f31346b3d8f43929c759f692a7e7ef9
asn1/a_int.c: remove code duplicate and optimize branches,

i.e. reduce amount of branches and favour likely ones.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3192)

(cherry picked from commit a3ea6bf0ef703b38a656245931979c7e53c410b7)
crypto/asn1/a_int.c