src/hg/gsid/gsidMember/paypalSignEncrypt.h 1.2
1.2 2009/04/14 07:20:02 galt
rearranging to get openssl to compile with gcc4, mainly by eliminating use of common.h and openssl together wherever possible
Index: src/hg/gsid/gsidMember/paypalSignEncrypt.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/gsid/gsidMember/paypalSignEncrypt.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/gsid/gsidMember/paypalSignEncrypt.h 26 Jan 2007 21:36:20 -0000 1.1
+++ src/hg/gsid/gsidMember/paypalSignEncrypt.h 14 Apr 2009 07:20:02 -0000 1.2
@@ -1,31 +1,15 @@
/* paypalSignEncrypt.h - routines to sign and encrypt button data using openssl */
#ifndef PPSIGNENCRYPT_H
#define PPSIGNENCRYPT_H
-#include "common.h"
-
-#include "openssl/buffer.h"
-#include "openssl/bio.h"
-#include "openssl/sha.h"
-#include "openssl/rand.h"
-#include "openssl/err.h"
-#include "openssl/rsa.h"
-#include "openssl/evp.h"
-#include "openssl/x509.h"
-#include "openssl/x509v3.h"
-#include "openssl/pkcs7.h"
-#include "openssl/pem.h"
-
/* The following code comes directly from PayPal's ButtonEncyption.cpp file, and has been
modified only to work with C
*/
-char* sign_and_encrypt(const char *data, RSA *rsa, X509 *x509, X509 *PPx509, bool verbose);
-/* sign and encrypt button data for safe delivery to paypal */
-
-char* sign_and_encryptFromFiles(const char *data, char *keyFile, char *certFile, char *ppCertFile, bool verbose);
+char* sign_and_encryptFromFiles(
+ const char *data, char *keyFile, char *certFile, char *ppCertFile, int verbose);
/* sign and encrypt button data for safe delivery to paypal, use keys/certs in specified filenames */
#endif