[OpenPGP:SDK svn] r481 - openpgpsdk/trunk/tests

Subversion ben at links.org
Thu Aug 9 16:41:17 BST 2007


Author: rachel
Date: 2007-08-09 16:41:17 +0100 (Thu, 09 Aug 2007)
New Revision: 481

Modified:
   openpgpsdk/trunk/tests/test_rsa_encrypt.c
Log:
#ifdef'd WIP code. Correct test code is found in test_packet_types.c


Modified: openpgpsdk/trunk/tests/test_rsa_encrypt.c
===================================================================
--- openpgpsdk/trunk/tests/test_rsa_encrypt.c	2007-08-09 15:30:18 UTC (rev 480)
+++ openpgpsdk/trunk/tests/test_rsa_encrypt.c	2007-08-09 15:41:17 UTC (rev 481)
@@ -274,8 +274,9 @@
     return 0;
     }
 
-static void test_rsa_encrypt(const int has_armour, const ops_key_data_t *key, const char *filename)
+static void test_rsa_encrypt(const int has_armour __attribute__((__unused__)), const ops_key_data_t *key __attribute__((__unused__)), const char *filename __attribute__((__unused__)))
     {
+#ifdef NOTYETUSED
     char myfile[MAXBUF+1];
     char encfile[MAXBUF+1];
     char *suffix= has_armour ? "asc" : "gpg";
@@ -352,6 +353,7 @@
     char buffer[MAXBUF+1];
     create_testtext(filename,&buffer[0],MAXBUF);
     CU_ASSERT(strcmp(text,buffer)==0);
+#endif
     }
 
 void test_rsa_encrypt_noarmour_singlekey(void)



More information about the OpenPGPsdk-svn mailing list