diff options
author | Sooyoung Ha <yoosah.ha@samsung.com> | 2017-08-28 14:08:14 +0900 |
---|---|---|
committer | Sooyoung Ha <yoosah.ha@samsung.com> | 2017-08-28 14:09:38 +0900 |
commit | bdefb4dd70288c7170aceb117e48a857b684023a (patch) | |
tree | 51f5f7758aa0b6f7d4bcbb3fc034f28b640f6817 | |
parent | fa5bab5992d533be83ff2337e4760e08ab63250e (diff) | |
parent | 4c9616caa81fecf74573b885fa1a25b0bdfe208f (diff) | |
download | sdb-bdefb4dd70288c7170aceb117e48a857b684023a.tar.gz sdb-bdefb4dd70288c7170aceb117e48a857b684023a.tar.bz2 sdb-bdefb4dd70288c7170aceb117e48a857b684023a.zip |
Merge branch 'develop' into tizen_studio_1.3
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
-rwxr-xr-x | SPC/Src/base/bignum.c | 12 | ||||
-rw-r--r-- | package/changelog | 3 | ||||
-rw-r--r-- | package/pkginfo.manifest | 2 |
3 files changed, 11 insertions, 6 deletions
diff --git a/SPC/Src/base/bignum.c b/SPC/Src/base/bignum.c index 94b8fe5..4cd79ef 100755 --- a/SPC/Src/base/bignum.c +++ b/SPC/Src/base/bignum.c @@ -1596,13 +1596,15 @@ CRYPTOCORE_INTERNAL int SDRM_BN_Div(SDRM_BIG_NUM *BN_Quotient, SDRM_BIG_NUM *BN_ return CRYPTO_SUCCESS;
}
- if (BN_Quotient == NULL && BN_Remainder != NULL)
+ if (BN_Quotient == NULL)
{
- BN_Remainder->Length = temp_Divisor->Length;
+ if (BN_Remainder != NULL) {
+ BN_Remainder->Length = temp_Divisor->Length;
- tmp = SDRM_DWD_Div(bnTmp, BN_Remainder->pData, temp_Dividend->pData, temp_Dividend->Length, temp_Divisor->pData, temp_Divisor->Length);
- SDRM_BN_OPTIMIZE_LENGTH(BN_Remainder);
- BN_Remainder->sign = BN_Dividend->sign;
+ tmp = SDRM_DWD_Div(bnTmp, BN_Remainder->pData, temp_Dividend->pData, temp_Dividend->Length, temp_Divisor->pData, temp_Divisor->Length);
+ SDRM_BN_OPTIMIZE_LENGTH(BN_Remainder);
+ BN_Remainder->sign = BN_Dividend->sign;
+ }
}
else if (BN_Remainder == NULL)
{
diff --git a/package/changelog b/package/changelog index d1191f7..fece5e2 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 2.3.4 +- fix potential problem +== Sooyoung Ha <yoosah.ha@samsung.com> 2017-08-28 * 2.3.3 - fix potential problems == Sooyoung Ha <yoosah.ha@samsung.com> 2017-08-22 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 06a1156..b6a30ff 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version:2.3.3 +Version:2.3.4 Source:sdb Maintainer: Jaewon Lim <jaewon81.lim@samsung.com>, SangJin Kim <sangjin3.kim@samsung.com> |