bdf3209e96
- update to 1.0.2a * Major changes since 1.0.1: - Suite B support for TLS 1.2 and DTLS 1.2 - Support for DTLS 1.2 - TLS automatic EC curve selection. - API to set TLS supported signature algorithms and curves - SSL_CONF configuration API. - TLS Brainpool support. - ALPN support. - CMS support for RSA-PSS, RSA-OAEP, ECDH and X9.42 DH. - packaging changes: * merged patches modifying CIPHER_LIST into one, dropping: - openssl-1.0.1e-add-suse-default-cipher-header.patch - openssl-libssl-noweakciphers.patch * fix a manpage with invalid name - added openssl-fix_invalid_manpage_name.patch * remove a missing fips function - openssl-missing_FIPS_ec_group_new_by_curve_name.patch * reimported patches from Fedora dropped patches: - openssl-1.0.1c-default-paths.patch - openssl-1.0.1c-ipv6-apps.patch - openssl-1.0.1e-fips-ctor.patch - openssl-1.0.1e-fips-ec.patch - openssl-1.0.1e-fips.patch - openssl-1.0.1e-new-fips-reqs.patch - VIA_padlock_support_on_64systems.patch added patches: - openssl-1.0.2a-default-paths.patch - openssl-1.0.2a-fips-ctor.patch (forwarded request 309611 from vitezslav_cizek) OBS-URL: https://build.opensuse.org/request/show/310849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=127
39 lines
2.0 KiB
Diff
39 lines
2.0 KiB
Diff
Index: openssl-1.0.2a/crypto/cryptlib.h
|
|
===================================================================
|
|
--- openssl-1.0.2a.orig/crypto/cryptlib.h 2015-05-24 13:18:57.391397563 +0200
|
|
+++ openssl-1.0.2a/crypto/cryptlib.h 2015-05-24 13:21:21.703498853 +0200
|
|
@@ -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;
|
|
|
|
Index: openssl-1.0.2a/crypto/crypto.h
|
|
===================================================================
|
|
--- openssl-1.0.2a.orig/crypto/crypto.h 2015-05-24 13:18:57.391397563 +0200
|
|
+++ openssl-1.0.2a/crypto/crypto.h 2015-05-24 13:23:15.110150336 +0200
|
|
@@ -529,15 +529,15 @@ void CRYPTO_get_mem_debug_functions(void
|
|
void (**f) (void *, int),
|
|
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(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);
|
|
|