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 612778 Details for
Bug 857373
MozNSS certificate database in SQL format cannot be used
[?]
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]
patch
jvcelak-20120914-moznss-ignore-certdb-sql-prefix-when-checking-existence.patch (text/plain), 1.10 KB, created by
Jan Vcelak
on 2012-09-14 09:00:18 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jan Vcelak
Created:
2012-09-14 09:00:18 UTC
Size:
1.10 KB
patch
obsolete
>From 4bffbbcacc6786487097eb40a69e191ca3815c44 Mon Sep 17 00:00:00 2001 >From: Jan Vcelak <jvcelak@redhat.com> >Date: Fri, 14 Sep 2012 10:37:06 +0200 >Subject: [PATCH] MozNSS: ignore certdb 'sql:' prefix when checking existence > >If the certdb uses newer SQL format, the certificate directory name >starts with 'sql:'. This prefix has to be ignored when checking >certificate directory existence. >--- > libraries/libldap/tls_m.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/libraries/libldap/tls_m.c b/libraries/libldap/tls_m.c >index 1422ce2..d2ce94e 100644 >--- a/libraries/libldap/tls_m.c >+++ b/libraries/libldap/tls_m.c >@@ -1562,7 +1562,13 @@ tlsm_get_certdb_prefix( const char *certdir, char **realcertdir, char **prefix ) > return; > } > >- prc = PR_GetFileInfo( certdir, &prfi ); >+ /* ignore sql: prefix if provided */ >+ if ( strncmp( "sql:", certdir, 4 ) == 0 ) { >+ prc = PR_GetFileInfo( certdir + 4, &prfi ); >+ } else { >+ prc = PR_GetFileInfo( certdir, &prfi ); >+ } >+ > /* if certdir exists (file or directory) then it cannot specify a prefix */ > if ( prc == PR_SUCCESS ) { > return; >-- >1.7.11.4 >
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 857373
: 612778