commit openssl for openSUSE:Factory
Hello community, here is the log from the commit of package openssl for openSUSE:Factory checked in at 2014-04-15 07:34:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openssl (Old) and /work/SRC/openSUSE:Factory/.openssl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openssl" Changes: -------- --- /work/SRC/openSUSE:Factory/openssl/openssl.changes 2014-04-09 18:17:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openssl.new/openssl.changes 2014-04-15 07:34:11.000000000 +0200 @@ -1,0 +2,14 @@ +Fri Apr 11 02:40:34 UTC 2014 - crrodriguez@opensuse.org + +- openssl-gcc-attributes.patch + * annotate memory allocation wrappers with attribute(alloc_size) + so the compiler can tell us if it knows they are being misused + * OPENSSL_showfatal is annotated with attribute printf to detect + format string problems. + +- It is time to try to disable SSLv2 again, it was tried a while + ago but broke too many things, nowadays Debian, Ubuntu, the BSDs + all have disabled it, most components are already fixed. + I will fix the remaining fallout if any. (email me) + +------------------------------------------------------------------- New: ---- openssl-gcc-attributes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openssl.spec ++++++ --- /var/tmp/diff_new_pack.Tl15V8/_old 2014-04-15 07:34:12.000000000 +0200 +++ /var/tmp/diff_new_pack.Tl15V8/_new 2014-04-15 07:34:12.000000000 +0200 @@ -64,6 +64,7 @@ Patch16: openssl-1.0.1e-fips-ec.patch Patch17: openssl-1.0.1e-fips-ctor.patch Patch18: openssl-1.0.1e-new-fips-reqs.patch +Patch19: openssl-gcc-attributes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -169,7 +170,7 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 - +%patch19 -p1 cp -p %{S:10} . cp -p %{S:11} . echo "adding/overwriting some entries in the 'table' hash in Configure" @@ -217,6 +218,9 @@ # config_flags="threads shared no-rc5 no-idea \ fips \ +%if 0%{suse_version} > 1310 +no-ssl2 \ +%endif %ifarch x86_64 enable-ec_nistp_64_gcc_128 \ %endif ++++++ openssl-gcc-attributes.patch ++++++ --- openssl-1.0.1g.orig/crypto/cryptlib.h +++ openssl-1.0.1g/crypto/cryptlib.h @@ -100,7 +100,7 @@ extern "C" { void OPENSSL_cpuid_setup(void); extern unsigned int OPENSSL_ia32cap_P[]; -void OPENSSL_showfatal(const char *fmta,...); +void OPENSSL_showfatal(const char *fmta,...) __attribute__ ((format (printf, 1, 2))); void *OPENSSL_stderr(void); extern int OPENSSL_NONPIC_relocated; --- openssl-1.0.1g.orig/crypto/crypto.h +++ openssl-1.0.1g/crypto/crypto.h @@ -487,15 +487,15 @@ void CRYPTO_get_mem_debug_functions(void void (**so)(long), long (**go)(void)); -void *CRYPTO_malloc_locked(int num, const char *file, int line); +void *CRYPTO_malloc_locked(int num, const char *file, int line) __attribute__((alloc_size(1))); void CRYPTO_free_locked(void *ptr); -void *CRYPTO_malloc(int num, const char *file, int line); +void *CRYPTO_malloc(int num, const char *file, int line) __attribute__((alloc_size(1))); char *CRYPTO_strdup(const char *str, const char *file, int line); void CRYPTO_free(void *ptr); -void *CRYPTO_realloc(void *addr,int num, const char *file, int line); +void *CRYPTO_realloc(void *addr,int num, const char *file, int line) __attribute__((alloc_size(2))); void *CRYPTO_realloc_clean(void *addr,int old_num,int num,const char *file, - int line); -void *CRYPTO_remalloc(void *addr,int num, const char *file, int line); + int line) __attribute__((alloc_size(2, 3))); +void *CRYPTO_remalloc(void *addr,int num, const char *file, int line) __attribute__((alloc_size(2))); void OPENSSL_cleanse(void *ptr, size_t len); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de