Skip to content

Commit

Permalink
Merge pull request #1398 from dhollister0/fix-pkcs11-uri
Browse files Browse the repository at this point in the history
Fix PKCS11 URI handling in /etc/rauc/system.conf
  • Loading branch information
ejoerns committed May 9, 2024
2 parents 7a17c8d + f3d7762 commit fcfe28d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ gchar *resolve_path(const gchar *basefile, const gchar *path)
if (path == NULL)
return NULL;

if (g_str_has_prefix(path, "pkcs11:"))
return g_strdup(path);

if (g_path_is_absolute(path))
return g_strdup(path);

Expand Down

0 comments on commit fcfe28d

Please sign in to comment.