Fix code structure (if ... else if ... where both parts
[openssl.git] / crypto / bn / exp.c
index 242711656460594c4e9397786db1cba5b5816ad7..4865b0ef742b5098ba87157beecbb7c5481941d1 100644 (file)
@@ -1,5 +1,7 @@
+/* unused */
+
 #include <stdio.h>
-#include "tmdiff.h"
+#include <openssl/tmdiff.h>
 #include "bn_lcl.h"
 
 #define SIZE   256
@@ -43,12 +45,12 @@ char *argv[];
                ms_time_get(start);
                for (i=0; i<num; i++)
                        {
-                       //bn_mull(&r,&a,&b,&ctx);
-                       //BN_sqr(&r,&a,&ctx);
+                       /* bn_mull(&r,&a,&b,&ctx); */
+                       /* BN_sqr(&r,&a,&ctx); */
                        BN_mod_exp_mont(&r,&a,&b,&c,&ctx,&mont);
                        }
                ms_time_get(end);
-               d=ms_time_diff(start,end) *50/33 /**/;
+               d=ms_time_diff(start,end)/* *50/33 */;
                printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n",size,
                        d,num,d/num,(int)((d/num)*mod),md/10.0);
                num/=8;