projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Raise an error on syscall failure in tls_retry_write_records
[openssl.git]
/
crypto
/
x509
/
x509_meth.c
diff --git
a/crypto/x509/x509_meth.c
b/crypto/x509/x509_meth.c
index a8eedd9b59af534d92fdd18718c3fd1e85bba81d..305fe4c6d390c9bdb0bb526678e6c898410718b6 100644
(file)
--- a/
crypto/x509/x509_meth.c
+++ b/
crypto/x509/x509_meth.c
@@
-23,10
+23,8
@@
X509_LOOKUP_METHOD *X509_LOOKUP_meth_new(const char *name)
if (method != NULL) {
method->name = OPENSSL_strdup(name);
- if (method->name == NULL) {
- ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE);
+ if (method->name == NULL)
goto err;
- }
}
return method;