diff --git a/Configure b/Configure index 89e6adee..5b48409c 100755 --- a/Configure +++ b/Configure @@ -1062,7 +1062,7 @@ if ($target =~ /^mingw/ && `$target{cc} --target-help 2>&1` =~ m/-mno-cygwin/m) if ($target =~ /linux.*-mips/ && !$disabled{asm} && $user_cflags !~ /-m(ips|arch=)/) { # minimally required architecture flags for assembly modules $config{cflags}="-mips2 $config{cflags}" if ($target =~ /mips32/); - $config{cflags}="-mips3 $config{cflags}" if ($target =~ /mips64/); + $config{cflags}="-mips64r2 $config{cflags}" if ($target =~ /mips64/); } my $no_shared_warn=0; diff --git a/crypto/gmapi/gmapi_skf_ec.c b/crypto/gmapi/gmapi_skf_ec.c index d54f243d..8a75ee8f 100644 --- a/crypto/gmapi/gmapi_skf_ec.c +++ b/crypto/gmapi/gmapi_skf_ec.c @@ -620,7 +620,7 @@ int i2d_ECCCIPHERBLOB(ECCCIPHERBLOB *a, unsigned char **pp) return 0; } - ret = i2d_SM2CiphertextValue(cv, pp)); + ret = i2d_SM2CiphertextValue(cv, pp); SM2CiphertextValue_free(cv); return ret; }