Commit 6c64b5881 for imagemagick.org
commit 6c64b58815de0b18608214981bd94d1db16f0ec8
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Jun 14 07:00:41 2026 -0400
export IsRightsAuthorizedByName()
diff --git a/MagickCore/policy-private.h b/MagickCore/policy-private.h
index ce5930689..0adf516d0 100644
--- a/MagickCore/policy-private.h
+++ b/MagickCore/policy-private.h
@@ -35,9 +35,11 @@ static const char
</policymap>";
#endif
-extern MagickPrivate MagickBooleanType
+extern MagickExport MagickBooleanType
IsRightsAuthorizedByName(const PolicyDomain,const char *,const PolicyRights,
- const char *),
+ const char *);
+
+extern MagickPrivate MagickBooleanType
PolicyComponentGenesis(void);
extern MagickPrivate void
diff --git a/MagickCore/policy.c b/MagickCore/policy.c
index cd13ae5f6..585557923 100644
--- a/MagickCore/policy.c
+++ b/MagickCore/policy.c
@@ -643,7 +643,7 @@ static MagickBooleanType IsPolicyCacheInstantiated(ExceptionInfo *exception)
%
*/
-MagickPrivate MagickBooleanType IsRightsAuthorizedByName(
+MagickExport MagickBooleanType IsRightsAuthorizedByName(
const PolicyDomain domain,const char *name,const PolicyRights rights,
const char *pattern)
{