Step 8 of move of engines: Remove the last little quirks.
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Oct 2002 18:21:40 +0000 (18:21 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 11 Oct 2002 18:21:40 +0000 (18:21 +0000)
DECIMAL_SIZE is copied from crypto/cryptlib.h.

engines/e_cswift.c

index 23d7919da0f1744fee94da7965f5f08e9dce5196..2ed9357f136b6599dba198bbb4592f0718c627da 100644 (file)
@@ -86,6 +86,8 @@
 #define CSWIFT_LIB_NAME "cswift engine"
 #include "e_cswift_err.c"
 
+#define DECIMAL_SIZE(type)     ((sizeof(type)*8+2)/3+1)
+
 static int cswift_destroy(ENGINE *e);
 static int cswift_init(ENGINE *e);
 static int cswift_finish(ENGINE *e);