two small fixes

This commit is contained in:
Tobias Brunner
2008-03-13 15:03:06 +00:00
parent e42db695e2
commit df3462ddbe
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2007 Tobias Brunner
* Copyright (C) 2007-2008 Tobias Brunner
* Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -1512,7 +1512,7 @@ connect_manager_t *connect_manager_create()
this->public.process_check = (void(*)(connect_manager_t*,message_t*))process_check;
this->hasher = lib->crypto->create_hasher(lib->crypto, HASH_SHA1);
if (hasher == NULL)
if (this->hasher == NULL)
{
DBG1(DBG_IKE, "unable to create connect manager, SHA1 not supported");
free(this);
+1 -1
View File
@@ -318,7 +318,7 @@ static status_t build_i(private_ike_p2p_t *this, message_t *message)
}
else
{
/* FIXME: should we make that configurable */
/* FIXME: should we make that configurable? */
message->add_notify(message, FALSE, P2P_CALLBACK, chunk_empty);
}