along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.38 2002/04/13 11:07:12 zarq Exp $
+ $Id: net.c,v 1.39 2002/04/28 12:46:26 zarq Exp $
*/
#include "config.h"
if(debug_lvl >= DEBUG_STATUS)
syslog(LOG_INFO, _("Regenerating symmetric key"));
+#ifdef USE_OPENSSL
RAND_pseudo_bytes(myself->key, myself->keylength);
+#endif
send_key_changed(myself->connection, myself);
keyexpires = now + keylifetime;
}