Monday, May 28, 2018

[389-commits] [389-ds-base] 01/01: Ticket 49726 - DS only accepts RSA and Fortezza cipher families

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

mreynolds pushed a commit to branch 389-ds-base-1.3.7
in repository 389-ds-base.

commit e0e739d78415308355f277b719da57923aaf7582
Author: Mark Reynolds <mreynolds@redhat.com>
Date: Sun May 27 10:48:55 2018 -0400

Ticket 49726 - DS only accepts RSA and Fortezza cipher families

Bug Description: Currently DS only accepts fortezza and RSA cipher families.
This prevents things like ECC certificates from being used.

Fix Description: Instead of hardcoding the cipher families, just grab the
current type and use it.

Also cleaned up code: removed unncessary "ifdefs", and switched
for loops to use size_t.

https://pagure.io/389-ds-base/issue/49726

Reviewed by: ?

(cherry picked from commit 27a16a068887e5b9fcab3b4507d58a18e6f1d1ec)
---
ldap/servers/slapd/ssl.c | 136 +++++++----------------------------------------
1 file changed, 20 insertions(+), 116 deletions(-)

diff --git a/ldap/servers/slapd/ssl.c b/ldap/servers/slapd/ssl.c
index 36b09fd..b8eba2d 100644
--- a/ldap/servers/slapd/ssl.c
+++ b/ldap/servers/slapd/ssl.c
@@ -31,28 +31,11 @@
#include "fe.h"
#include "certdb.h"

-#if !defined(USE_OPENLDAP)
-#include "ldap_ssl.h"
-

No comments:

Post a Comment