diff options
Diffstat (limited to 'src/lib/libcrypto/mdc2/mdc2test.c')
-rw-r--r-- | src/lib/libcrypto/mdc2/mdc2test.c | 8 |
1 files changed, 0 insertions, 8 deletions
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[]) | |||
76 | #include <openssl/evp.h> | 76 | #include <openssl/evp.h> |
77 | #include <openssl/mdc2.h> | 77 | #include <openssl/mdc2.h> |
78 | 78 | ||
79 | #ifdef CHARSET_EBCDIC | ||
80 | #include <openssl/ebcdic.h> | ||
81 | #endif | ||
82 | |||
83 | static unsigned char pad1[16]={ | 79 | static unsigned char pad1[16]={ |
84 | 0x42,0xE5,0x0C,0xD2,0x24,0xBA,0xCE,0xBA, | 80 | 0x42,0xE5,0x0C,0xD2,0x24,0xBA,0xCE,0xBA, |
85 | 0x76,0x0B,0xDD,0x2B,0xD4,0x09,0x28,0x1A | 81 | 0x76,0x0B,0xDD,0x2B,0xD4,0x09,0x28,0x1A |
@@ -98,10 +94,6 @@ int main(int argc, char *argv[]) | |||
98 | EVP_MD_CTX c; | 94 | EVP_MD_CTX c; |
99 | static char *text="Now is the time for all "; | 95 | static char *text="Now is the time for all "; |
100 | 96 | ||
101 | #ifdef CHARSET_EBCDIC | ||
102 | ebcdic2ascii(text,text,strlen(text)); | ||
103 | #endif | ||
104 | |||
105 | EVP_MD_CTX_init(&c); | 97 | EVP_MD_CTX_init(&c); |
106 | EVP_DigestInit_ex(&c,EVP_mdc2(), NULL); | 98 | EVP_DigestInit_ex(&c,EVP_mdc2(), NULL); |
107 | EVP_DigestUpdate(&c,(unsigned char *)text,strlen(text)); | 99 | EVP_DigestUpdate(&c,(unsigned char *)text,strlen(text)); |