diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-02-19 11:27:51 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-02-19 11:27:51 +0000 |
commit | 2cf58edd9b8f94ac8e5b214cb22fa9d59a584a2a (patch) | |
tree | cac5e265f861942c104a5aa40412f8e33ef7d9c1 /security/saferpay/files/patch-IcctSign.h | |
parent | update to cal.rb-1.11 (diff) |
Fix compile on CURRENT - finally. We have to check for the engine.h
header to get the things right.
Notes
Notes:
svn path=/head/; revision=75881
Diffstat (limited to 'security/saferpay/files/patch-IcctSign.h')
-rw-r--r-- | security/saferpay/files/patch-IcctSign.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/saferpay/files/patch-IcctSign.h b/security/saferpay/files/patch-IcctSign.h new file mode 100644 index 000000000000..19e0153f859c --- /dev/null +++ b/security/saferpay/files/patch-IcctSign.h @@ -0,0 +1,22 @@ +--- saferpay/IcctSign.h.orig Wed Apr 17 13:40:14 2002 ++++ saferpay/IcctSign.h Wed Feb 19 12:22:17 2003 +@@ -11,11 +11,19 @@ + int* cbPrivateKey, UCHAR* Seed, + int cbSeed = 0); + ++#ifdef HAVE_SSLENGINE_H ++HRESULT ICCT_Signature(const UCHAR* pucPrivateKey, int cbPrivateKey, UCHAR* pMessage, ++ ULONG cbMessage, /*[out]*/ UCHAR* pDigest, ULONG* pcbDigest); ++ ++HRESULT ICCT_Verify(const UCHAR* pucPublicKey, int cbPublicKey, UCHAR* pMessage, ++ ULONG cbMessage, /*[in]*/ UCHAR* pDigest, ULONG cbDigest); ++#else + HRESULT ICCT_Signature(UCHAR* pucPrivateKey, int cbPrivateKey, UCHAR* pMessage, + ULONG cbMessage, /*[out]*/ UCHAR* pDigest, ULONG* pcbDigest); + + HRESULT ICCT_Verify(UCHAR* pucPublicKey, int cbPublicKey, UCHAR* pMessage, + ULONG cbMessage, /*[in]*/ UCHAR* pDigest, ULONG cbDigest); ++#endif + + + HRESULT ICCT_CryptDigest(UCHAR* pucPublicKey, int cbPublicKey, |