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/hmac/hmactest.c | |
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/hmac/hmactest.c')
-rw-r--r-- | src/lib/libcrypto/hmac/hmactest.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/libcrypto/hmac/hmactest.c b/src/lib/libcrypto/hmac/hmactest.c index 1b906b81af..282e06e53e 100644 --- a/src/lib/libcrypto/hmac/hmactest.c +++ b/src/lib/libcrypto/hmac/hmactest.c | |||
@@ -74,9 +74,6 @@ int main(int argc, char *argv[]) | |||
74 | #include <openssl/md5.h> | 74 | #include <openssl/md5.h> |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #ifdef CHARSET_EBCDIC | ||
78 | #include <openssl/ebcdic.h> | ||
79 | #endif | ||
80 | 77 | ||
81 | #ifndef OPENSSL_NO_MD5 | 78 | #ifndef OPENSSL_NO_MD5 |
82 | static struct test_st | 79 | static struct test_st |
@@ -132,14 +129,6 @@ int main(int argc, char *argv[]) | |||
132 | #ifdef OPENSSL_NO_MD5 | 129 | #ifdef OPENSSL_NO_MD5 |
133 | printf("test skipped: MD5 disabled\n"); | 130 | printf("test skipped: MD5 disabled\n"); |
134 | #else | 131 | #else |
135 | |||
136 | #ifdef CHARSET_EBCDIC | ||
137 | ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); | ||
138 | ebcdic2ascii(test[1].data, test[1].data, test[1].data_len); | ||
139 | ebcdic2ascii(test[2].key, test[2].key, test[2].key_len); | ||
140 | ebcdic2ascii(test[2].data, test[2].data, test[2].data_len); | ||
141 | #endif | ||
142 | |||
143 | for (i=0; i<4; i++) | 132 | for (i=0; i<4; i++) |
144 | { | 133 | { |
145 | p=pt(HMAC(EVP_md5(), | 134 | p=pt(HMAC(EVP_md5(), |