projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop raising ERR_R_MALLOC_FAILURE in most places
[openssl.git]
/
crypto
/
evp
/
bio_b64.c
diff --git
a/crypto/evp/bio_b64.c
b/crypto/evp/bio_b64.c
index 09720eecd9ed47d828ae7e18ef4bbbf89eff8bd3..0292c678c91ae4f1b0e3720500adfb94206a6f04 100644
(file)
--- a/
crypto/evp/bio_b64.c
+++ b/
crypto/evp/bio_b64.c
@@
-67,10
+67,8
@@
static int b64_new(BIO *bi)
{
BIO_B64_CTX *ctx;
- if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL) {
- ERR_raise(ERR_LIB_EVP, ERR_R_MALLOC_FAILURE);
+ if ((ctx = OPENSSL_zalloc(sizeof(*ctx))) == NULL)
return 0;
- }
ctx->cont = 1;
ctx->start = 1;