From: Paul Park Date: Tue, 27 Jun 1995 20:42:45 +0000 (+0000) Subject: Allow md4.c to be optimized by native DEC compilers X-Git-Tag: krb5-1.0-beta6~1645 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9ff7a3142227a703c7be1db5663972941c8d631;p=krb5.git Allow md4.c to be optimized by native DEC compilers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6170 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/md4/ChangeLog b/src/lib/crypto/md4/ChangeLog index c16c03e20..40a96927c 100644 --- a/src/lib/crypto/md4/ChangeLog +++ b/src/lib/crypto/md4/ChangeLog @@ -1,3 +1,9 @@ + +Tue Jun 27 15:53:02 EDT 1995 Paul Park (pjpark@mit.edu) + * md4.c(Transform) - Add 'register' to scratch variable names. Helps + out compiler so that DEC native compilers can now optimize + this module within our lifetimes. + Thu Jun 22 16:13:29 1995 Tom Yu (tlyu@dragons-lair) * md4.c: reverse sense of KRB5_PROVIDE_PROTOTYPES diff --git a/src/lib/crypto/md4/md4.c b/src/lib/crypto/md4/md4.c index be40b5dad..878b81df2 100644 --- a/src/lib/crypto/md4/md4.c +++ b/src/lib/crypto/md4/md4.c @@ -179,7 +179,7 @@ static void Transform (buf, in) krb5_ui_4 FAR *buf; krb5_ui_4 FAR *in; { - krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; + register krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; /* Round 1 */ FF (a, b, c, d, in[ 0], 3);