/[pkgs]/devel/openssl/openssl-0.9.8j-version-add-engines.patch
ViewVC logotype

Contents of /devel/openssl/openssl-0.9.8j-version-add-engines.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Jan 15 09:10:25 2009 UTC (10 months, 1 week ago) by tmraz
Branch: MAIN
CVS Tags: openssl-0_9_8j-2_fc11, F-12-split, openssl-1_0_0-0_8_beta3_fc13, openssl-0_9_8j-1_fc11, openssl-0_9_8j-9_fc11, openssl-1_0_0-0_1_beta3_fc12, openssl-0_9_8j-10_fc11, openssl-1_0_0-0_3_beta3_fc12, openssl-1_0_0-0_13_beta4_fc13, openssl-1_0_0-0_9_beta3_fc13, openssl-1_0_0-0_11_beta4_fc13, F-11-split, openssl-1_0_0-0_5_beta3_fc12, openssl-1_0_0-0_2_beta3_fc12, openssl-1_0_0-0_4_beta3_fc12, openssl-0_9_8j-3_fc11, openssl-0_9_8k-5_fc12, openssl-0_9_8k-6_fc12, openssl-0_9_8k-1_fc11, openssl-0_9_8k-7_fc12, openssl-0_9_8k-3_fc12, openssl-0_9_8j-5_fc11, openssl-0_9_8j-6_fc11, openssl-0_9_8k-2_fc11, openssl-1_0_0-0_7_beta3_fc12, openssl-0_9_8j-4_fc11, openssl-0_9_8j-8_fc11, openssl-0_9_8j-7_fc11, openssl-0_9_8k-4_fc12, openssl-1_0_0-0_10_beta3_fc13, openssl-1_0_0-0_14_beta4_fc13, openssl-1_0_0-0_15_beta4_fc13, openssl-1_0_0-0_12_beta4_fc13, openssl-1_0_0-0_6_beta3_fc12, HEAD
File MIME type: text/x-patch
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 0.9.8j-1
- new upstream version with necessary soname bump (#455753)
- temporarily provide symlink to old soname to make it possible to rebuild
  the dependent packages in rawhide
- add eap-fast support (#428181)
- add possibility to disable zlib by setting
- add fips mode support for testing purposes
- do not null dereference on some invalid smime files
- add buildrequires pkgconfig (#479493)
1 diff -up openssl-0.9.8j/apps/version.c.version-add-engines openssl-0.9.8j/apps/version.c
2 --- openssl-0.9.8j/apps/version.c.version-add-engines 2008-10-20 14:53:33.000000000 +0200
3 +++ openssl-0.9.8j/apps/version.c 2009-01-13 23:22:03.000000000 +0100
4 @@ -131,6 +131,7 @@
5 #ifndef OPENSSL_NO_BF
6 # include <openssl/blowfish.h>
7 #endif
8 +#include <openssl/engine.h>
9
10 #undef PROG
11 #define PROG version_main
12 @@ -140,7 +141,7 @@ int MAIN(int, char **);
13 int MAIN(int argc, char **argv)
14 {
15 int i,ret=0;
16 - int cflags=0,version=0,date=0,options=0,platform=0,dir=0;
17 + int cflags=0,version=0,date=0,options=0,platform=0,dir=0,engines=0;
18
19 apps_startup();
20
21 @@ -164,7 +165,7 @@ int MAIN(int argc, char **argv)
22 else if (strcmp(argv[i],"-d") == 0)
23 dir=1;
24 else if (strcmp(argv[i],"-a") == 0)
25 - date=version=cflags=options=platform=dir=1;
26 + date=version=cflags=options=platform=dir=engines=1;
27 else
28 {
29 BIO_printf(bio_err,"usage:version -[avbofpd]\n");
30 @@ -211,6 +212,18 @@ int MAIN(int argc, char **argv)
31 }
32 if (cflags) printf("%s\n",SSLeay_version(SSLEAY_CFLAGS));
33 if (dir) printf("%s\n",SSLeay_version(SSLEAY_DIR));
34 + if (engines)
35 + {
36 + ENGINE *e;
37 + printf("engines: ");
38 + e = ENGINE_get_first();
39 + while (e)
40 + {
41 + printf("%s ", ENGINE_get_id(e));
42 + e = ENGINE_get_next(e);
43 + }
44 + printf("\n");
45 + }
46 end:
47 apps_shutdown();
48 OPENSSL_EXIT(ret);

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2