fix: BN_swap mishandles flags
authorBilly Brumley <bbrumley@gmail.com>
Thu, 26 Apr 2018 15:08:36 +0000 (18:08 +0300)
committerMatt Caswell <matt@openssl.org>
Fri, 27 Apr 2018 08:54:37 +0000 (09:54 +0100)
commit9e5b50b54d1032634979c224f2dd11c84f2900b7
treed64570c1fda86d09f5da321b5e52aad1aa18eb29
parent32c6985349ba134761f75a3f61814234d096a1df
fix: BN_swap mishandles flags

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6099)
crypto/bn/bn_lib.c
test/bntest.c