summaryrefslogtreecommitdiffstats
path: root/fips/ecdsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-14 11:30:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-14 11:30:51 +0000
commita6311f856b9ed7d71460872148a735335338918e (patch)
treece18fd7f9d824d022f8eac0a43ec6b0bcddc08fe /fips/ecdsa
parentac892b7aa6532e0345e430208335403ead5d2de1 (diff)
Remove several of the old obsolete FIPS_corrupt_*() functions.
Diffstat (limited to 'fips/ecdsa')
-rw-r--r--fips/ecdsa/fips_ecdsa_selftest.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fips/ecdsa/fips_ecdsa_selftest.c b/fips/ecdsa/fips_ecdsa_selftest.c
index 69494806d5..8681005ef0 100644
--- a/fips/ecdsa/fips_ecdsa_selftest.c
+++ b/fips/ecdsa/fips_ecdsa_selftest.c
@@ -67,7 +67,7 @@
static const char P_384_name[] = "ECDSA P-384";
-static unsigned char P_384_d[] = {
+static const unsigned char P_384_d[] = {
0x1d,0x84,0x42,0xde,0xa2,0x35,0x29,0xbd,0x9f,0xe2,0x6e,0x6d,
0x01,0x26,0x30,0x79,0x33,0x57,0x01,0xf3,0x97,0x88,0x41,0xb3,
0x82,0x07,0x08,0x5e,0x63,0x8e,0x1a,0xa6,0x9b,0x08,0xb6,0xe2,
@@ -86,11 +86,6 @@ static const unsigned char P_384_qy[] = {
0xfc,0x03,0xe5,0x12,0x50,0x17,0x98,0x7f,0x14,0x7e,0x95,0x17
};
-void FIPS_corrupt_ecdsa()
- {
- P_384_d[0]++;
- }
-
#ifndef OPENSSL_NO_EC2M
static const char K_409_name[] = "ECDSA K-409";