Branch: Tag:

2009-01-08

2009-01-08 23:14:46 by Stephen R. van den Berg <srb@cuci.nl>

Patch from srb: Use compacter (and faster) Crypto.XYZ.hash() member function.

Rev: server/base_server/global_variables.pike:1.115
Rev: server/base_server/prototypes.pike:1.224
Rev: server/base_server/roxen.pike:1.1009
Rev: server/bin/setup_nsr.pike:1.5
Rev: server/etc/modules/RXML.pmod/module.pmod:1.389
Rev: server/modules/tags/rxmltags.pike:1.582
Rev: server/protocols/http.pike:1.574

2:   //   // Created 1999-07-30 by Martin Stjernholm.   // - // $Id: module.pmod,v 1.388 2008/12/22 14:52:40 mast Exp $ + // $Id: module.pmod,v 1.389 2009/01/08 23:14:46 mast Exp $      // Kludge: Must use "RXML.refs" somewhere for the whole module to be   // loaded correctly.
931:    //! @[generation] to track changes in the tag set.    {    if (!hash) -  hash = Crypto.MD5()->update (encode_value_canonic (get_hash_data()))->digest(); +  hash = Crypto.MD5.hash (encode_value_canonic (get_hash_data()));    return hash;    }