From 583954ba36f3a87d2804e7c28ec73b36ddb62ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sat, 15 Feb 1997 23:02:23 +0100 Subject: [PATCH] Tried to use module system. This file is quite obsolete now. Rev: src/modules/_Crypto/StdCrypt.pike:1.3 --- src/modules/_Crypto/StdCrypt.pike | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/_Crypto/StdCrypt.pike b/src/modules/_Crypto/StdCrypt.pike index 44e71ac912..0ab24cb748 100644 --- a/src/modules/_Crypto/StdCrypt.pike +++ b/src/modules/_Crypto/StdCrypt.pike @@ -4,11 +4,10 @@ */ /* Do magic loading */ -#include "crypto.h" +// #include "crypto.h" -#define P(x) (program) ("/precompiled/crypto/" + x) +#define P(x) (program) (Crypto[x]) -constant Crypto = P("crypto"); constant DES = P("des"); constant IDEA = P("idea"); constant ROT256 = P("invert"); @@ -16,4 +15,5 @@ constant RC4 = P("rc4"); constant SHA = P("sha"); constant CBC = P("cbc"); constant crypto_pipe = P("pipe"); +constant Crypto = P("crypto"); -- GitLab