From c9414ed70ec89926c1041a64ee4b2f3ef36c90f6 Mon Sep 17 00:00:00 2001 From: beck <> Date: Tue, 15 Apr 2014 17:46:17 +0000 Subject: Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity with the bearded ones... some API's that nobody should be using will dissapear with this commit. --- src/lib/libcrypto/mdc2/mdc2test.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/lib/libcrypto/mdc2/mdc2test.c') diff --git a/src/lib/libcrypto/mdc2/mdc2test.c b/src/lib/libcrypto/mdc2/mdc2test.c index 017b31add2..cf8f65cf27 100644 --- a/src/lib/libcrypto/mdc2/mdc2test.c +++ b/src/lib/libcrypto/mdc2/mdc2test.c @@ -76,10 +76,6 @@ int main(int argc, char *argv[]) #include #include -#ifdef CHARSET_EBCDIC -#include -#endif - static unsigned char pad1[16]={ 0x42,0xE5,0x0C,0xD2,0x24,0xBA,0xCE,0xBA, 0x76,0x0B,0xDD,0x2B,0xD4,0x09,0x28,0x1A @@ -98,10 +94,6 @@ int main(int argc, char *argv[]) EVP_MD_CTX c; static char *text="Now is the time for all "; -#ifdef CHARSET_EBCDIC - ebcdic2ascii(text,text,strlen(text)); -#endif - EVP_MD_CTX_init(&c); EVP_DigestInit_ex(&c,EVP_mdc2(), NULL); EVP_DigestUpdate(&c,(unsigned char *)text,strlen(text)); -- cgit v1.2.3-55-g6feb