PR: 1894
[openssl.git] / engines / ccgost / gost_sign.c
index 4755aee8fa663ce4c47c40cdeeb10b9b4a77e3d6..4095654358fac8537db90b956effe9bbeed0a716 100644 (file)
@@ -3,7 +3,7 @@
  *             Copyright (c) 2005-2006 Cryptocom LTD                  *
  *         This file is distributed under the same license as OpenSSL *
  *                                                                    *
- *       Implementation of GOST R 34.10-94 signature algoritgthm      *
+ *       Implementation of GOST R 34.10-94 signature algorithm        *
  *       for OpenSSL                                                  *
  *          Requires OpenSSL 0.9.9 for compilation                    *
  **********************************************************************/
@@ -197,7 +197,7 @@ int gost94_compute_public(DSA *dsa)
        BN_CTX *ctx = BN_CTX_new();
        if (!dsa->g)
                {
-               GOSTerr(GOST_F_GOST_COMPUTE_PUBLIC,GOST_R_KEY_IS_NOT_INITALIZED);
+               GOSTerr(GOST_F_GOST94_COMPUTE_PUBLIC,GOST_R_KEY_IS_NOT_INITALIZED);
                return 0;
                }       
        /* Compute public key  y = a^x mod p */