projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace GOST_R_MALLOC_FAILURE and GOST_R_NO_MEMORY with ERR_R_MALLOC_FAILURE
[openssl.git]
/
engines
/
ccgost
/
gost2001.c
diff --git
a/engines/ccgost/gost2001.c
b/engines/ccgost/gost2001.c
index dacd82d2b92aad29a3088e354b32fe5c3627ad6d..e8bbfdfc061ce734bed038823a3576c956a6279b 100644
(file)
--- a/
engines/ccgost/gost2001.c
+++ b/
engines/ccgost/gost2001.c
@@
-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);