ber_bvstr() shouldn't play games with input string.

This commit is contained in:
Kurt Zeilenga 2000-08-15 17:01:40 +00:00
parent 2ae410bd1b
commit ce856bd5c2

View File

@ -498,12 +498,6 @@ ber_bvstr(
return NULL;
}
if ( *s == '\0' ) {
new->bv_val = NULL;
new->bv_len = 0;
return new;
}
new->bv_val = (char *) s;
new->bv_len = strlen( s );