Dash:
[t2-trunk.git] / package / network / apache / openssl-0.9.8.patch
blobb479ce2415dd9d0162a475a15946f5964b18ca46
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../apache/openssl-0.9.8.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./modules/ssl/ssl_engine_pphrase.c.orig 2005-07-14 23:32:39.040813840 -0400
17 +++ ./modules/ssl/ssl_engine_pphrase.c 2005-07-14 23:35:34.285860200 -0400
18 @@ -30,6 +30,13 @@
19 -- Clifford Stoll */
20 #include "mod_ssl.h"
22 +#ifndef PEM_F_DEF_CALLBACK
23 +# ifdef PEM_F_PEM_DEF_CALLBACK
24 +/* In OpenSSL 0.9.8 PEM_F_DEF_CALLBACK was renamed */
25 +# define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
26 +# endif
27 +#endif
30 * Return true if the named file exists and is readable