diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plop.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plop.erl b/src/plop.erl index d62274a..0ba14cc 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -403,6 +403,9 @@ serialise(#signature{ algorithm = Algorithm, signature = Signature % DER encoded. }) -> + %% Encode a DSS signature according to RFC5246 section 4.7 and + %% don't forget that the signature is a vector as specified in + %% section 4.3 and has a length field. SigLen = size(Signature), [serialise(Algorithm), <<SigLen:16, |