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
e2afe3ce
Commit
e2afe3ce
authored
Apr 15, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6460
parent
7ebcb9de
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
e2afe3ce
...
...
@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.22 Engineering
Added slapd SLAP_SCHEMA_EXPOSE flag for hidden schema elements (ITS#6435)
Fixed libldap GnuTLS serial length (ITS#6460)
Fixed slapd certificateListValidate (ITS#6466)
Fixed slapd empty URI parsing (ITS#6465)
Fixed slapd REP_ENTRY flag handling (ITS#5340)
...
...
libraries/libldap/tls_g.c
View file @
e2afe3ce
...
...
@@ -545,7 +545,8 @@ tlsg_x509_cert_dn( struct berval *cert, struct berval *dn, int get_subject )
tag
=
ber_skip_tag
(
ber
,
&
len
);
/* Context + Constructed (version) */
if
(
tag
==
0xa0
)
/* Version is optional */
tag
=
ber_get_int
(
ber
,
&
i
);
/* Int: Version */
tag
=
ber_get_int
(
ber
,
&
i
);
/* Int: Serial */
tag
=
ber_skip_tag
(
ber
,
&
len
);
/* Int: Serial (can be longer than ber_int_t) */
ber_skip_data
(
ber
,
len
);
tag
=
ber_skip_tag
(
ber
,
&
len
);
/* Sequence: Signature */
ber_skip_data
(
ber
,
len
);
if
(
!
get_subject
)
{
...
...
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