dd10eb1997-03-04Niels Möller /* Crypto.pmod * */
e424aa1997-11-19Fredrik Hübinette (Hubbe) static private mixed crypto_module;
dd10eb1997-03-04Niels Möller  mixed `[](string name) {
1b4e2b1997-03-05Niels Möller // return (::`[](name) || ((program) ("Crypto/" + name)));
1ee6941997-05-30Henrik Grubbström (Grubba)  catch {
e424aa1997-11-19Fredrik Hübinette (Hubbe)  return (crypto_module[name]
1ee6941997-05-30Henrik Grubbström (Grubba)  || ((program) ("Crypto/" + name)) || ((object) ("Crypto/" + name + ".pmod"))); };
f497c61997-12-20Henrik Grubbström (Grubba)  return ([])[0]; // UNDEFINED
dd10eb1997-03-04Niels Möller }
e424aa1997-11-19Fredrik Hübinette (Hubbe) void create() { catch { crypto_module=master()->resolv("_Crypto"); }; if(!crypto_module) crypto_module=master()->resolv("_Lobotomized_Crypto"); }