Diff
Not logged in

Differences From Artifact [ca2ff25c2c]:

To Artifact [46acddae91]:


203
204
205
206
207
208
209
210
211
212



213
214
215
216
217
218
219
203
204
205
206
207
208
209



210
211
212
213
214
215
216
217
218
219







-
-
-
+
+
+







  #
  # <public>
  proc isPgpSignature { value } {
    set length [string length $value]

    if {$length == 0 || ([string first [string trim {
      -----BEGIN PGP SIGNATURE-----
    }] $value] == 0 && [string first [string trim {
      -----END PGP SIGNATURE-----
    }] $value] == ($length - 29))} then {
    }] $value] == 0 && [string first [subst [string trim {
      -----END PGP SIGNATURE-----\r\n
    }]] $value] == ($length - 29))} then {
      return true
    } else {
      return false
    }
  }

  #