Skip to content
Snippets Groups Projects
Commit 583954ba authored by Niels Möller's avatar Niels Möller
Browse files

Tried to use module system. This file is quite obsolete now.

Rev: src/modules/_Crypto/StdCrypt.pike:1.3
parent 59e6c01a
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,10 @@ ...@@ -4,11 +4,10 @@
*/ */
/* Do magic loading */ /* 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 DES = P("des");
constant IDEA = P("idea"); constant IDEA = P("idea");
constant ROT256 = P("invert"); constant ROT256 = P("invert");
...@@ -16,4 +15,5 @@ constant RC4 = P("rc4"); ...@@ -16,4 +15,5 @@ constant RC4 = P("rc4");
constant SHA = P("sha"); constant SHA = P("sha");
constant CBC = P("cbc"); constant CBC = P("cbc");
constant crypto_pipe = P("pipe"); constant crypto_pipe = P("pipe");
constant Crypto = P("crypto");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment