Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/storage/nssdb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,12 @@ impl Storage for NSSStorage {
for a in NSS_SKIP_ATTRIBUTES {
let _ = attrs.remove_ulong(a);
}
/* remove unknown attributes from query */
for a in attributes {
if !is_db_attribute(a.type_) {
let _ = attrs.remove_ulong(a.type_);
}
}
}
let mut obj =
self.fetch_by_nssid(&table, nssobjid, attrs.as_slice())?;
Expand Down
Loading