diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-31 14:52:36 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-04-04 10:58:54 -0700 |
| commit | 1d2c568dfdb317055f330f4703923437d565ad3e (patch) | |
| tree | 5ed6a8459136a3d98eed9d49de3b12f011fa249e /lib | |
| parent | c6b547cd44f14e3ccbac9dc8d98b20a565d32c91 (diff) | |
| download | openvswitch-1d2c568dfdb317055f330f4703923437d565ad3e.tar.gz | |
stream-ssl: Use out_of_memory() to abort due to lack of memory.
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.
Diffstat (limited to 'lib')
| -rw-r--r-- | 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 4874bbe48..977c5ba61 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; |
