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 23d7919..2ed9357 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);