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
/
gost94_keyx.c
diff --git
a/engines/ccgost/gost94_keyx.c
b/engines/ccgost/gost94_keyx.c
index 0d7d3ffe6aa7484a03a2965c99828b97e6b63f7b..d48e21ae7ccb7dfb700f10060e5986e8eba8af51 100644
(file)
--- a/
engines/ccgost/gost94_keyx.c
+++ b/
engines/ccgost/gost94_keyx.c
@@
-199,7
+199,7
@@
int pkey_GOST94cp_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
EVP_PKEY_free(mykey);
}
GOSTerr(GOST_F_PKEY_GOST94CP_ENCRYPT,
-
GOST
_R_MALLOC_FAILURE);
+
ERR
_R_MALLOC_FAILURE);
err:
GOST_KEY_TRANSPORT_free(gkt);
return -1;