diff --git a/lib/entry/libimagentryref/src/refstore.rs b/lib/entry/libimagentryref/src/refstore.rs index 8c4e1134..e8ec1edd 100644 --- a/lib/entry/libimagentryref/src/refstore.rs +++ b/lib/entry/libimagentryref/src/refstore.rs @@ -249,6 +249,9 @@ impl RefStore for Store { let e = REK::HeaderFieldAlreadyExistsError.into_error(); return Err(e).map_err_into(REK::HeaderFieldWriteError); }, + Ok(None) => { + // Okay, we just inserted a new header value... + }, Err(e) => return Err(e).map_err_into(REK::HeaderFieldWriteError), _ => (), }