Skip to content

Commit 273cd97

Browse files
committed
nit
1 parent 28805b7 commit 273cd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ec/mirage_crypto_ec.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ module Make_dsa (Param : Parameters) (F : Fn) (P : Point) (S : Scalar) (H : Mira
623623
else if l = bl then
624624
msg
625625
else
626-
( let res = Bytes.make ((bl - l) + (String.length msg)) '\000' in
626+
( let res = Bytes.make bl '\000' in
627627
Bytes.blit_string msg 0 res (bl - l) (String.length msg) ;
628628
Bytes.unsafe_to_string res )
629629

0 commit comments

Comments
 (0)