Skip to content

Commit

Permalink
Make sure we get the definition of OPENSSL_NO_IDEA and IDEA_INT.
Browse files Browse the repository at this point in the history
  • Loading branch information
levitte committed Mar 20, 2003
1 parent e8cc7de commit 8305477
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/idea/idea.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@
#ifndef HEADER_IDEA_H
#define HEADER_IDEA_H

#include <openssl/opensslconf.h> /* IDEA_INT, OPENSSL_NO_IDEA */

#ifdef OPENSSL_NO_IDEA
#error IDEA is disabled.
#endif

#define IDEA_ENCRYPT 1
#define IDEA_DECRYPT 0

#include <openssl/opensslconf.h> /* IDEA_INT */
#define IDEA_BLOCK 8
#define IDEA_KEY_LENGTH 16

Expand Down

0 comments on commit 8305477

Please sign in to comment.