Don't put C++ comments in a C file.
authorRichard Levitte <levitte@openssl.org>
Sun, 19 Jun 2005 20:00:47 +0000 (20:00 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 19 Jun 2005 20:00:47 +0000 (20:00 +0000)
crypto/engine/hw_cswift.c

index ea0e515daef93f5ac8be7508d5b48ca41790c322..1411fd83331b39ec28014ef8a17b81d2876ad940 100644 (file)
@@ -719,7 +719,7 @@ static int cswift_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa)
        int to_return = 0;
        const RSA_METHOD * def_rsa_method;
 
-       // Try the limits of RSA (2048 bits)
+       /* Try the limits of RSA (2048 bits) */
        if(BN_num_bytes(rsa->p) > 128 ||
                BN_num_bytes(rsa->q) > 128 ||
                BN_num_bytes(rsa->dmp1) > 128 ||
@@ -761,7 +761,7 @@ static int cswift_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
        {
        const RSA_METHOD * def_rsa_method;
 
-       // Try the limits of RSA (2048 bits)
+       /* Try the limits of RSA (2048 bits) */
        if(BN_num_bytes(r) > 256 ||
                BN_num_bytes(a) > 256 ||
                BN_num_bytes(m) > 256)