Skip to content

Commit 3fc818f

Browse files
committed
fix: Add a clarifying comment
1 parent 9e7b9cf commit 3fc818f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/c2pa/c2pa.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ class C2paSignerInfo(ctypes.Structure):
205205
("ta_url", ctypes.c_char_p),
206206
]
207207

208-
# Mapping from C2paSigningAlg enum to string representation
208+
# Mapping from C2paSigningAlg enum to string representation,
209+
# as the enum value currently maps by default to an integer value.
209210
_ALG_MAPPING = {
210211
C2paSigningAlg.ES256: b"es256",
211212
C2paSigningAlg.ES384: b"es384",

0 commit comments

Comments
 (0)