summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/des.h
diff options
context:
space:
mode:
authorbeck <>2000-12-15 02:58:47 +0000
committerbeck <>2000-12-15 02:58:47 +0000
commit9200bb13d15da4b2a23e6bc92c20e95b74aa2113 (patch)
tree5c52d628ec1e34be76e7ef2a4235d248b7c44d24 /src/lib/libcrypto/des/des.h
parente131d25072e3d4197ba4b9bcc0d1b27d34d6488d (diff)
downloadopenbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.gz
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.bz2
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.zip
openssl-engine-0.9.6 merge
Diffstat (limited to 'src/lib/libcrypto/des/des.h')
-rw-r--r--src/lib/libcrypto/des/des.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h
index ead67986d9..2db9748cb4 100644
--- a/src/lib/libcrypto/des/des.h
+++ b/src/lib/libcrypto/des/des.h
@@ -59,10 +59,6 @@
59#ifndef HEADER_DES_H 59#ifndef HEADER_DES_H
60#define HEADER_DES_H 60#define HEADER_DES_H
61 61
62#ifdef __cplusplus
63extern "C" {
64#endif
65
66#ifdef NO_DES 62#ifdef NO_DES
67#error DES is disabled. 63#error DES is disabled.
68#endif 64#endif
@@ -71,10 +67,13 @@ extern "C" {
71#error <openssl/des.h> replaces <kerberos/des.h>. 67#error <openssl/des.h> replaces <kerberos/des.h>.
72#endif 68#endif
73 69
74#include <stdio.h>
75#include <openssl/opensslconf.h> /* DES_LONG */ 70#include <openssl/opensslconf.h> /* DES_LONG */
76#include <openssl/e_os2.h> /* OPENSSL_EXTERN */ 71#include <openssl/e_os2.h> /* OPENSSL_EXTERN */
77 72
73#ifdef __cplusplus
74extern "C" {
75#endif
76
78typedef unsigned char des_cblock[8]; 77typedef unsigned char des_cblock[8];
79typedef /* const */ unsigned char const_des_cblock[8]; 78typedef /* const */ unsigned char const_des_cblock[8];
80/* With "const", gcc 2.8.1 on Solaris thinks that des_cblock * 79/* With "const", gcc 2.8.1 on Solaris thinks that des_cblock *