diff options
author | 2003-12-22 18:13:58 +0000 | |
---|---|---|
committer | 2003-12-22 18:13:58 +0000 | |
commit | 0aebb62c9f65a9a7dbeba48a05628f926259e786 (patch) | |
tree | d0f9d74e7ca98bd4b6e93dcf513cd7a1543cdc54 | |
parent | - document -q; from Edward Paul Wehrwein; (diff) | |
download | wireguard-openbsd-0aebb62c9f65a9a7dbeba48a05628f926259e786.tar.xz wireguard-openbsd-0aebb62c9f65a9a7dbeba48a05628f926259e786.zip |
use AES_BLOCK_SIZE only for USE_AES; report martti.kuparinen@iki.fi; ok ho@
-rw-r--r-- | sbin/isakmpd/crypto.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/crypto.h b/sbin/isakmpd/crypto.h index 05cdb3164d9..13c799b3e20 100644 --- a/sbin/isakmpd/crypto.h +++ b/sbin/isakmpd/crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.h,v 1.11 2003/09/24 11:12:31 markus Exp $ */ +/* $OpenBSD: crypto.h,v 1.12 2003/12/22 18:13:58 markus Exp $ */ /* $EOM: crypto.h,v 1.12 2000/10/15 21:56:41 niklas Exp $ */ /* @@ -93,7 +93,11 @@ */ #define BLOCKSIZE 8 +#ifdef USE_AES #define MAXBLK AES_BLOCK_SIZE +#else +#define MAXBLK BLOCKSIZE +#endif struct keystate { struct crypto_xf *xf; /* Back pointer */ |