From 5d4de61c2179a2842aece488ed21d28052e2745f Mon Sep 17 00:00:00 2001 From: Paul van Brouwershaven Date: Mon, 4 Jul 2022 17:11:41 +0200 Subject: [PATCH] Make placeholder constant --- sign/pdfsignature.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign/pdfsignature.go b/sign/pdfsignature.go index c509457..79f1fa0 100644 --- a/sign/pdfsignature.go +++ b/sign/pdfsignature.go @@ -15,7 +15,7 @@ import ( "github.com/digitorus/timestamp" ) -var signatureByteRangePlaceholder = "/ByteRange[0 ********** ********** **********]" +const signatureByteRangePlaceholder = "/ByteRange[0 ********** ********** **********]" func (context *SignContext) createSignaturePlaceholder() (dssd string, byte_range_start_byte int64, signature_contents_start_byte int64) { // Using a buffer because it's way faster than concatenating.