diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-10-14 12:02:53 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-10-14 12:02:53 +0000 |
commit | 2d183e4c44b1d18fe515739ec72c76d471a4b669 (patch) | |
tree | 3f5e7464e1b2ca6921026ee1a90ca6db39e1a848 /fips/dsa/fips_dssvs.c | |
parent | 7049d13c5fffab33b70c00df87c769966256f0a8 (diff) |
Add BSD-ppc85xx support and avoid copying overlapping buffers in fips_dssvs.cOpenSSL-fips-2_0_2
Diffstat (limited to 'fips/dsa/fips_dssvs.c')
-rw-r--r-- | fips/dsa/fips_dssvs.c | 3 |
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 |