Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 716927 Details for
Bug 839735
openssl: environment settings honored when used in privileged apps
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Portability patch for __secure_getenv()
openssl-fips-0.9.8e-port-sgetenv.patch (text/plain), 931 bytes, created by
Tomas Mraz
on 2013-03-27 07:59:06 UTC
(
hide
)
Description:
Portability patch for __secure_getenv()
Filename:
MIME Type:
Creator:
Tomas Mraz
Created:
2013-03-27 07:59:06 UTC
Size:
931 bytes
patch
obsolete
>diff -up openssl-fips-0.9.8e/crypto/uid.c.port-sgetenv openssl-fips-0.9.8e/crypto/uid.c >--- openssl-fips-0.9.8e/crypto/uid.c.port-sgetenv 2003-11-28 14:10:55.000000000 +0100 >+++ openssl-fips-0.9.8e/crypto/uid.c 2013-03-27 08:56:37.222334364 +0100 >@@ -85,5 +85,12 @@ int OPENSSL_issetugid(void) > } > #endif > >- >+#if !defined(OPENSSL_SYS_LINUX) >+#include <stdlib.h> >+char *__secure_getenv(const char *name) >+ { >+ if (OPENSSL_issetugid()) return NULL; >+ return getenv(name); >+ } >+#endif > >diff -up openssl-fips-0.9.8e/e_os2.h.port-sgetenv openssl-fips-0.9.8e/e_os2.h >--- openssl-fips-0.9.8e/e_os2.h.port-sgetenv 2005-12-18 19:57:07.000000000 +0100 >+++ openssl-fips-0.9.8e/e_os2.h 2013-03-27 08:56:21.874010512 +0100 >@@ -273,6 +273,10 @@ extern "C" { > # define OPENSSL_GLOBAL_REF(name) _shadow_##name > #endif > >+#if !defined(OPENSSL_SYS_LINUX) >+extern char *__secure_getenv(const char *name); >+#endif >+ > #ifdef __cplusplus > } > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 839735
: 716927