summaryrefslogtreecommitdiffstats
path: root/ssl/s2_lib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-12-27 16:10:30 +0000
committerRichard Levitte <levitte@openssl.org>2003-12-27 16:10:30 +0000
commit5fdf06666c863cd62d53173d1d2011cdec71200c (patch)
tree91089069d0faf50954ba132a607aca809b32cad4 /ssl/s2_lib.c
parentf28e8bd300b32710c829316b4f620960154cf3e2 (diff)
Avoid including cryptlib.h, it's not really needed.
Check if IDEA is being built or not. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
Diffstat (limited to 'ssl/s2_lib.c')
-rw-r--r--ssl/s2_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index a0edfb8960..4a86ac2dd6 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -63,7 +63,6 @@
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/md5.h>
-#include "cryptlib.h"
static long ssl2_default_timeout(void );
const char *ssl2_version_str="SSLv2" OPENSSL_VERSION_PTEXT;
@@ -139,6 +138,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl2_ciphers[]={
SSL_ALL_STRENGTHS,
},
/* IDEA_128_CBC_WITH_MD5 */
+#ifndef OPENSSL_NO_IDEA
{
1,
SSL2_TXT_IDEA_128_CBC_WITH_MD5,
@@ -151,6 +151,7 @@ OPENSSL_GLOBAL SSL_CIPHER ssl2_ciphers[]={
SSL_ALL_CIPHERS,
SSL_ALL_STRENGTHS,
},
+#endif
/* DES_64_CBC_WITH_MD5 */
{
1,