diff options
author | beck <> | 2014-04-15 17:46:17 +0000 |
---|---|---|
committer | beck <> | 2014-04-15 17:46:17 +0000 |
commit | c9414ed70ec89926c1041a64ee4b2f3ef36c90f6 (patch) | |
tree | c53c25a15cd89988cef641fa18324c5c6db28fed /src/lib/libcrypto/ripemd | |
parent | 0cfe49dc6db41fd2d4f960b618ed41b11ffffc6a (diff) | |
download | openbsd-c9414ed70ec89926c1041a64ee4b2f3ef36c90f6.tar.gz openbsd-c9414ed70ec89926c1041a64ee4b2f3ef36c90f6.tar.bz2 openbsd-c9414ed70ec89926c1041a64ee4b2f3ef36c90f6.zip |
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.
Diffstat (limited to 'src/lib/libcrypto/ripemd')
-rw-r--r-- | src/lib/libcrypto/ripemd/rmdtest.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ripemd/rmdtest.c b/src/lib/libcrypto/ripemd/rmdtest.c index fb34e0e836..b32fda96ed 100644 --- a/src/lib/libcrypto/ripemd/rmdtest.c +++ b/src/lib/libcrypto/ripemd/rmdtest.c | |||
@@ -72,10 +72,6 @@ int main(int argc, char *argv[]) | |||
72 | #include <openssl/ripemd.h> | 72 | #include <openssl/ripemd.h> |
73 | #include <openssl/evp.h> | 73 | #include <openssl/evp.h> |
74 | 74 | ||
75 | #ifdef CHARSET_EBCDIC | ||
76 | #include <openssl/ebcdic.h> | ||
77 | #endif | ||
78 | |||
79 | static char *test[]={ | 75 | static char *test[]={ |
80 | "", | 76 | "", |
81 | "a", | 77 | "a", |
@@ -112,9 +108,6 @@ int main(int argc, char *argv[]) | |||
112 | i=1; | 108 | i=1; |
113 | while (*P != NULL) | 109 | while (*P != NULL) |
114 | { | 110 | { |
115 | #ifdef CHARSET_EBCDIC | ||
116 | ebcdic2ascii((char *)*P, (char *)*P, strlen((char *)*P)); | ||
117 | #endif | ||
118 | EVP_Digest(&(P[0][0]),strlen((char *)*P),md,NULL,EVP_ripemd160(), NULL); | 111 | EVP_Digest(&(P[0][0]),strlen((char *)*P),md,NULL,EVP_ripemd160(), NULL); |
119 | p=pt(md); | 112 | p=pt(md); |
120 | if (strcmp(p,(char *)*R) != 0) | 113 | if (strcmp(p,(char *)*R) != 0) |