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
/
asn1
/
tasn_scn.c
diff --git
a/crypto/asn1/tasn_scn.c
b/crypto/asn1/tasn_scn.c
index bde697ee9925c70ca6ca9ca63bd1d2f2bddb783a..7ada313b94492dcfbbbeec48215bb8677d7bafaf 100644
(file)
--- a/
crypto/asn1/tasn_scn.c
+++ b/
crypto/asn1/tasn_scn.c
@@
-26,10
+26,8
@@
ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx))
{
ASN1_SCTX *ret = OPENSSL_zalloc(sizeof(*ret));
- if (ret == NULL) {
- ERR_raise(ERR_LIB_ASN1, ERR_R_MALLOC_FAILURE);
+ if (ret == NULL)
return NULL;
- }
ret->scan_cb = scan_cb;
return ret;
}