Remove several of the old obsolete FIPS_corrupt_*() functions.
[openssl.git] / fips / ecdsa / fips_ecdsa_selftest.c
index 69494806d558d6319633a4ae6bb2f4aa639af918..8681005ef0f255c58cf7581982b4b9bc8bc09358 100644 (file)
@@ -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";