diff options
author | Andrew Stormont <astormont@racktopsystems.com> | 2018-03-18 13:07:01 +0000 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-05-17 10:17:57 -0400 |
commit | 9ee48d48fcedfa1c02bcd16d6abbbfd28b9726c1 (patch) | |
tree | a0cc0b454b6523f57945e0b597ac46bca09f34fe /usr/src/common/mpi/mpi-priv.h | |
parent | e87636823fcefbf553fdda979f84ad782e6e2202 (diff) | |
download | illumos-joyent-9ee48d48fcedfa1c02bcd16d6abbbfd28b9726c1.tar.gz |
8660 mpi code checks return value of void function
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/common/mpi/mpi-priv.h')
-rw-r--r-- | usr/src/common/mpi/mpi-priv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/common/mpi/mpi-priv.h b/usr/src/common/mpi/mpi-priv.h index fa6af6d661..9af654ca1d 100644 --- a/usr/src/common/mpi/mpi-priv.h +++ b/usr/src/common/mpi/mpi-priv.h @@ -46,14 +46,14 @@ * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * + * Copyright 2017 RackTop Systems. + * * Sun elects to use this software under the MPL license. */ #ifndef _MPI_PRIV_H #define _MPI_PRIV_H -#pragma ident "%Z%%M% %I% %E% SMI" - /* $Id: mpi-priv.h,v 1.20 2005/11/22 07:16:43 relyea%netscape.com Exp $ */ #include "mpi.h" @@ -300,7 +300,7 @@ mp_err MPI_ASM_DECL s_mpv_div_2dx1d(mp_digit Nhi, mp_digit Nlo, /* c += a * b * (MP_RADIX ** offset); */ #define s_mp_mul_d_add_offset(a, b, c, off) \ -(s_mpv_mul_d_add_prop(MP_DIGITS(a), MP_USED(a), b, MP_DIGITS(c) + off), MP_OKAY) + s_mpv_mul_d_add_prop(MP_DIGITS(a), MP_USED(a), b, MP_DIGITS(c) + off) typedef struct { mp_int N; /* modulus N */ |