summaryrefslogtreecommitdiff
path: root/crypto/des/des.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-07-28 23:25:59 +0000
committerUlf Möller <ulf@openssl.org>1999-07-28 23:25:59 +0000
commit8c197cc55eda97fba9c51254fd0e1da7259ab174 (patch)
tree06dce59bd50795c2f822df8d3ec26a15e6eb7919 /crypto/des/des.h
parent3e3d2ea2fc9e9b702f94d5870f1a0a2f0c4c59f5 (diff)
downloadopenssl-new-8c197cc55eda97fba9c51254fd0e1da7259ab174.tar.gz
VMS updates.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'crypto/des/des.h')
-rw-r--r--crypto/des/des.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/des/des.h b/crypto/des/des.h
index 141526ba05..54d58ed602 100644
--- a/crypto/des/des.h
+++ b/crypto/des/des.h
@@ -67,6 +67,10 @@ extern "C" {
#error DES is disabled.
#endif
+#ifdef _KERBEROS_DES_H
+#error kerberos/des.h and openssl/des.h
+#endif
+
#include <stdio.h>
#include <openssl/opensslconf.h> /* DES_LONG */
#include <openssl/e_os2.h> /* OPENSSL_EXTERN */
@@ -116,11 +120,11 @@ typedef struct des_ks_struct
#define des_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
des_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
-#define Key_schedule des_key_schedule
#ifdef KERBEROS
#define ENCRYPT DES_ENCRYPT
#define DECRYPT DES_DECRYPT
#endif
+
#define KEY_SZ DES_KEY_SZ
#define string_to_key des_string_to_key
#define read_pw_string des_read_pw_string