Skip to content
Snippets Groups Projects
Commit 448e2dca authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix empty uniqueMember dn portion (ITS#3247)

parent 47415023
No related branches found
No related tags found
No related merge requests found
......@@ -1093,14 +1093,12 @@ uniqueMemberMatch(
{
int match;
struct berval *asserted = (struct berval *) assertedValue;
struct berval assertedDN = BER_BVNULL;
struct berval assertedDN = *asserted;
struct berval assertedUID = BER_BVNULL;
struct berval valueDN = BER_BVNULL;
struct berval valueUID = BER_BVNULL;
if( !BER_BVISEMPTY( asserted ) ) {
assertedDN = *asserted;
if ( !BER_BVISEMPTY( asserted ) ) {
assertedUID.bv_val = strrchr( assertedDN.bv_val, '#' );
if ( !BER_BVISNULL( &assertedUID ) ) {
assertedUID.bv_val++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment