This matches what xmalloc() does.  It will be handled better by a monitor
process (created with --monitor), which will restart the child instead of
exiting.
---
 lib/stream-ssl.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lib/stream-ssl.c b/lib/stream-ssl.c
index 4874bbe..977c5ba 100644
--- a/lib/stream-ssl.c
+++ b/lib/stream-ssl.c
@@ -1044,8 +1044,7 @@ tmp_dh_callback(SSL *ssl OVS_UNUSED, int is_export 
OVS_UNUSED, int keylength)
             if (!dh->dh) {
                 dh->dh = dh->constructor();
                 if (!dh->dh) {
-                    ovs_fatal(ENOMEM, "out of memory constructing "
-                              "Diffie-Hellman parameters");
+                    out_of_memory();
                 }
             }
             return dh->dh;
-- 
1.7.1

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to