[Mono-dev] [PATCH] Set hash algorithms block size
Javier Mart�
lordhabbit at gmail.com
Thu Nov 29 15:47:32 EST 2007
Fine for me. The advantage of making the field protected instead of
private was allowing derived classes to know about it and so allowing
them to remove their redundant (private) fields, but the functionality
brought by my patch wouldn't be hindered by making those fields
private or internal. So, amendment accepted ^^
Habbit
2007/11/29, Alan McGovern <alan.mcgovern at gmail.com>:
>
>
> > This fix is twofold: to begin with, I've modified the abstract base
> classes of
> > all hash algorithms in Sys.Sec.Crypto to include a protected const field
> called
> > SPEC_BLOKCSIZE and overriden InputBlockSize and OutputBlockSize to return
> this
> > value.
> This would modify the public API and so wouldn't be allowable (i assume).
> You'd have to make those either internal or private as opposed to protected.
>
> Alan.
>
More information about the Mono-devel-list
mailing list