Thursday, March 5, 2020

[389-commits] [389-ds-base] branch master updated: Ticket 50889 - fix compiler issues

This is an automated email from the git hooks/post-receive script.

tbordaz pushed a commit to branch master
in repository 389-ds-base.

The following commit(s) were added to refs/heads/master by this push:
new a4340aa Ticket 50889 - fix compiler issues
a4340aa is described below

commit a4340aaaf2ad6a88969ffe05aadf5a9fc6d264b0
Author: Thierry Bordaz <tbordaz@redhat.com>
AuthorDate: Thu Mar 5 19:17:32 2020 +0100

Ticket 50889 - fix compiler issues
---
ldap/servers/slapd/proto-slap.h | 1 +
ldap/servers/slapd/ssl.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ldap/servers/slapd/proto-slap.h b/ldap/servers/slapd/proto-slap.h
index 34cf133..3feea55 100644
--- a/ldap/servers/slapd/proto-slap.h
+++ b/ldap/servers/slapd/proto-slap.h
@@ -1097,6 +1097,7 @@ void do_search(Slapi_PBlock *pb);
/*
* ssl.c
*/
+char *check_private_certdir();
int slapd_nss_init(int init_ssl, int config_available);
int slapd_ssl_init(void);
int slapd_ssl_init2(PRFileDesc **fd, int startTLS);
diff --git a/ldap/servers/slapd/ssl.c b/ldap/servers/slapd/ssl.c
index 6ea4ae0..ca8c3b4 100644
--- a/ldap/servers/slapd/ssl.c
+++ b/ldap/servers/slapd/ssl.c
@@ -950,7 +950,7 @@ check_private_certdir()
}
while (fgets(sline, sizeof(sline), f)) {
sscanf(sline,"%d %d %d:%d %s %s %s\n",
- &mountid, &parentid, &major, &minor, &root, &mountpoint, &rest);
+ &mountid, &parentid, &major, &minor, (char *)&root, (char *)&mountpoint, (char *)&rest);
if ((strncmp(mountpoint, private_mountpoint, strlen(private_mountpoint)) == 0) && /* mountpoint=/tmp */
strstr(root, private_namespace_root)) { /* root=...systemd-private... */
tmp_private = PR_TRUE;

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment