--- sendlib.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sendlib.c b/sendlib.c index f5389d8b..77c14e8f 100644 --- a/sendlib.c +++ b/sendlib.c @@ -516,13 +516,8 @@ int mutt_write_mime_body (BODY *a, FILE *f) void mutt_generate_boundary (PARAMETER **parm) { char rs[BOUNDARYLEN + 1]; - char *p = rs; - int i; - rs[BOUNDARYLEN] = 0; - for (i=0;i<BOUNDARYLEN;i++) - *p++ = B64Chars[mutt_random32() % sizeof (B64Chars)]; - *p = 0; + mutt_base64_random96(rs); mutt_set_parameter ("boundary", rs, parm); } -- 2.26.2
- [PATCH 1/3] Use LFSR113 PRNG for mutt's internal random... Remco Rijnders
- [PATCH 3/3] Remove support for OpenSSL <0.9.5 Remco Rijnders
- Re: [PATCH 3/3] Remove support for OpenSSL <... Kevin J. McCarthy
- Re: [PATCH 3/3] Remove support for OpenSSL... Kevin J. McCarthy
- [PATCH] Remove support for OpenSSL <... Remco Rijnders
- Re: [PATCH] Remove support for Op... Kevin J. McCarthy
- Re: [PATCH] Remove support fo... Remco Rijnders
- Re: [PATCH] Remove suppor... Kevin J. McCarthy
- [PATCH 2/3] Simplify mutt_generate_boundary to use... Remco Rijnders
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt's intern... Remco Rijnders
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt's intern... Kevin J. McCarthy
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt's in... Remco Rijnders
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt'... Oswald Buddenhagen
- Re: [PATCH 1/3] Use LFSR113 PRNG for m... Remco Rijnders
- Re: [PATCH 1/3] Use LFSR113 PRNG for m... Ian Collier
- Re: [PATCH 1/3] Use LFSR113 PRNG ... Steffen Nurpmeso
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt's in... Remco Rijnders
- Re: [PATCH 1/3] Use LFSR113 PRNG for mutt'... Kevin J. McCarthy
- [PATCH] Use OpenSSL, GnuTLS, or LFSR11... Remco Rijnders