setkey is already defined on HP/UX.
authorBen Laurie <ben@openssl.org>
Tue, 30 Sep 2003 16:15:49 +0000 (16:15 +0000)
committerBen Laurie <ben@openssl.org>
Tue, 30 Sep 2003 16:15:49 +0000 (16:15 +0000)
fips/rsa/fingerprint.sha1
fips/rsa/fips_rsa_selftest.c

index 0e6dc8462ad98bcf76c2dd446372b67e54a7b6e5..1ee4addb3d1d88e16beb787c7695a29b9b0b35a2 100644 (file)
@@ -1,3 +1,3 @@
 SHA1(fips_rsa_eay.c)= 945cac757aecfad5a3c6bfcd4db7c384e51342f5
 SHA1(fips_rsa_gen.c)= 4367cb3840db0df5b50846a198c33911c28ab2f4
-SHA1(fips_rsa_selftest.c)= b77290943c00293b1671d098a219763dcfa7f6d8
+SHA1(fips_rsa_selftest.c)= f0a9683b29b3e231067f840424727413e811cbfc
index 2af2a7999cad50935a39f75256743f0b635a6c37..12e71b4972965124fe092dd11bb3c19d56e2d647 100644 (file)
@@ -66,7 +66,7 @@
   memcpy(c, ctext_ex, sizeof(ctext_ex) - 1); \
   return (sizeof(ctext_ex) - 1);
 
-static int setkey(RSA *key, unsigned char *c)
+static int setrsakey(RSA *key, unsigned char *c)
     {
     static unsigned char n[] =
 "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
@@ -157,7 +157,7 @@ int FIPS_selftest_rsa()
     int n;
 
     key=RSA_new();
-    clen=setkey(key,expected_ctext);
+    clen=setrsakey(key,expected_ctext);
     n=RSA_public_encrypt(sizeof(original_ptext)-1,original_ptext,ctext,key,
                         RSA_NO_PADDING);
     if(n < 0)