summaryrefslogtreecommitdiffstats
path: root/fips/dsa/fips_dssvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/dsa/fips_dssvs.c')
-rw-r--r--fips/dsa/fips_dssvs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fips/dsa/fips_dssvs.c b/fips/dsa/fips_dssvs.c
index e2f2297f00..cee5fb398e 100644
--- a/fips/dsa/fips_dssvs.c
+++ b/fips/dsa/fips_dssvs.c
@@ -46,7 +46,8 @@ static int parse_mod(char *line, int *pdsa2, int *pL, int *pN,
if (strcmp(keyword, "L"))
return 0;
*pL = atoi(value);
- strcpy(line, p + 1);
+ strcpy(lbuf, p + 1);
+ strcpy(line, lbuf);
if (pmd)
p = strchr(line, ',');
else