summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/cast/c_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/cast/c_enc.c')
-rw-r--r--lib/libssl/src/crypto/cast/c_enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libssl/src/crypto/cast/c_enc.c b/lib/libssl/src/crypto/cast/c_enc.c
index 0fe2cffeccf..e80f65b6986 100644
--- a/lib/libssl/src/crypto/cast/c_enc.c
+++ b/lib/libssl/src/crypto/cast/c_enc.c
@@ -59,6 +59,7 @@
#include <openssl/cast.h>
#include "cast_lcl.h"
+#ifndef OPENBSD_CAST_ASM
void CAST_encrypt(CAST_LONG *data, CAST_KEY *key)
{
register CAST_LONG l,r,*k,t;
@@ -122,6 +123,7 @@ void CAST_decrypt(CAST_LONG *data, CAST_KEY *key)
data[1]=l&0xffffffffL;
data[0]=r&0xffffffffL;
}
+#endif
void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
CAST_KEY *ks, unsigned char *iv, int enc)