Replace GOST_R_MALLOC_FAILURE and GOST_R_NO_MEMORY with ERR_R_MALLOC_FAILURE
[openssl.git] / engines / ccgost / gost2001.c
index dacd82d2b92aad29a3088e354b32fe5c3627ad6d..e8bbfdfc061ce734bed038823a3576c956a6279b 100644 (file)
@@ -106,7 +106,7 @@ DSA_SIG *gost2001_do_sign(const unsigned char *dgst,int dlen, EC_KEY *eckey)
        newsig=DSA_SIG_new();
        if (!newsig) 
                {
-               GOSTerr(GOST_F_GOST2001_DO_SIGN,GOST_R_NO_MEMORY);
+               GOSTerr(GOST_F_GOST2001_DO_SIGN,ERR_R_MALLOC_FAILURE);
                goto err;
                }       
        group = EC_KEY_get0_group(eckey);