Skip to content
Snippets Groups Projects
Commit aa74f02c authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3552 fix bogus asserts

parent 2964bfc4
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ ldap_extended_operation(
assert( ld != NULL );
assert( LDAP_VALID( ld ) );
assert( reqoid != NULL || *reqoid == '\0' );
assert( reqoid != NULL && *reqoid != '\0' );
assert( msgidp != NULL );
/* must be version 3 (or greater) */
......@@ -131,8 +131,7 @@ ldap_extended_operation_s(
assert( ld != NULL );
assert( LDAP_VALID( ld ) );
assert( reqoid != NULL || *reqoid == '\0' );
assert( retoidp != NULL || retdatap != NULL );
assert( reqoid != NULL && *reqoid != '\0' );
rc = ldap_extended_operation( ld, reqoid, reqdata,
sctrls, cctrls, &msgid );
......
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