projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a79342
)
SSL_CTX_new may return NULL
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 22 Apr 2014 12:52:24 +0000
(08:52 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 22 Apr 2014 12:52:24 +0000
(08:52 -0400)
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
4ec72aa
..
c926d8b
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-2001,6
+2001,7
@@
static SSL_CTX *init_tls_ctx(fr_tls_server_conf_t *conf, int client)
#endif
ctx = SSL_CTX_new(TLSv1_method());
+ if (!ctx) return NULL;
/*
* Save the config on the context so that callbacks which