openssl/crypto/pkcs12
Pauli 79c2c74130 Use secure_getenv(3) when available.
Change all calls to getenv() inside libcrypto to use a new wrapper function
that use secure_getenv() if available and an issetugid then getenv if not.

CPU processor override flags are unchanged.

Extra checks for OPENSSL_issetugid() have been removed in favour of the
safe getenv.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7047)

(cherry picked from commit 5c39a55d04)
2018-09-24 11:22:22 +10:00
..
build.info Following the PKCS#12 update, update crypto/pkcs12/build.info as well 2016-02-08 20:20:43 +01:00
p12_add.c Convert PKCS12* functions to use const getters 2016-08-19 15:46:19 +01:00
p12_asn.c Update copyright year 2018-09-11 13:45:17 +01:00
p12_attr.c crypto/pkcs12: default to UTF-8. 2016-08-22 13:52:55 +02:00
p12_crpt.c Don't switch password formats using global state. 2016-08-25 11:42:33 +01:00
p12_crt.c Constify PKCS12_create, PKCS12_add_key, PKCS12_add_safe. 2016-06-15 13:22:38 -04:00
p12_decr.c Constify X509_SIG. 2016-08-17 17:48:43 +01:00
p12_init.c Update copyright year 2018-09-11 13:45:17 +01:00
p12_key.c Simplify PKCS#12 PBE algorithm. 2016-11-15 01:23:25 +00:00
p12_kiss.c Clear outputs in PKCS12_parse error handling. 2017-08-17 17:57:15 +02:00
p12_lcl.h Don't switch password formats using global state. 2016-08-25 11:42:33 +01:00
p12_mutl.c Use secure_getenv(3) when available. 2018-09-24 11:22:22 +10:00
p12_npas.c Add X509_getm_notBefore, X509_getm_notAfter 2016-08-21 18:25:23 +01:00
p12_p8d.c Constify X509_SIG. 2016-08-17 17:48:43 +01:00
p12_p8e.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
p12_sbag.c Update copyright year 2018-06-20 15:29:23 +01:00
p12_utl.c Update copyright year 2018-05-01 13:34:30 +01:00
pk12err.c Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00