projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2538b
)
More OpenSSL-0.9.7 compatibility
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 2 Jun 2009 10:56:04 +0000
(11:56 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 2 Jun 2009 10:56:04 +0000
(11:56 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
ssl.c
patch
|
blob
|
history
diff --git
a/ssl.c
b/ssl.c
index
00aa9f7
..
769ebe4
100644
(file)
--- a/
ssl.c
+++ b/
ssl.c
@@
-326,6
+326,9
@@
static int load_certificate(struct openconnect_info *vpninfo)
vpninfo->progress(vpninfo, PRG_ERR, "Private key failed\n");
report_ssl_errors(vpninfo);
+#ifndef EVP_F_EVP_DECRYPTFINAL_EX
+#define EVP_F_EVP_DECRYPTFINAL_EX EVP_F_EVP_DECRYPTFINAL
+#endif
/* If the user fat-fingered the passphrase, try again */
if (ERR_GET_LIB(err) == ERR_LIB_EVP &&
ERR_GET_FUNC(err) == EVP_F_EVP_DECRYPTFINAL_EX &&