Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
158a47cb
Commit
158a47cb
authored
Oct 30, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6355
parent
df7329de
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
158a47cb
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.20 Engineering
Fixed libldap uninitialized return value (ITS#6355)
Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324)
OpenLDAP 2.4.19 Release (2009/10/06)
...
...
libraries/libldap/tls_o.c
View file @
158a47cb
...
...
@@ -1081,6 +1081,7 @@ tlso_tmp_rsa_cb( SSL *ssl, int is_export, int key_length )
/* FIXME: Who frees the key? */
#if OPENSSL_VERSION_NUMBER > 0x00908000
BIGNUM
*
bn
=
BN_new
();
tmp_rsa
=
NULL
;
if
(
bn
)
{
if
(
BN_set_word
(
bn
,
RSA_F4
))
{
tmp_rsa
=
RSA_new
();
...
...
@@ -1090,8 +1091,6 @@ tlso_tmp_rsa_cb( SSL *ssl, int is_export, int key_length )
}
}
BN_free
(
bn
);
}
else
{
tmp_rsa
=
NULL
;
}
#else
tmp_rsa
=
RSA_generate_key
(
key_length
,
RSA_F4
,
NULL
,
NULL
);
...
...
@@ -1101,7 +1100,6 @@ tlso_tmp_rsa_cb( SSL *ssl, int is_export, int key_length )
Debug
(
LDAP_DEBUG_ANY
,
"TLS: Failed to generate temporary %d-bit %s RSA key
\n
"
,
key_length
,
is_export
?
"export"
:
"domestic"
,
0
);
return
NULL
;
}
return
tmp_rsa
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment