Various style, typo and whitespace corrections

This commit is contained in:
Adrian-Ken Rueegsegger 2012-01-06 17:37:59 +01:00 committed by Tobias Brunner
parent 9d17c1a679
commit 5ed3e3a7e6
4 changed files with 10 additions and 11 deletions

View File

@ -5,8 +5,8 @@
Git repository Git repository
--------------------- ---------------------
For interested developers, we have a public repository. To check out and For interested developers, we have a public repository. To check out and compile
compile the code, you need the following tools: the code, you need the following tools:
- Git - Git
- a recent GNU C compiler (>= 3.x) - a recent GNU C compiler (>= 3.x)

View File

@ -74,8 +74,7 @@ struct diffie_hellman_t {
/** /**
* Returns the shared secret of this diffie hellman exchange. * Returns the shared secret of this diffie hellman exchange.
* *
* Space for returned secret is allocated and must be * Space for returned secret is allocated and must be freed by the caller.
* freed by the caller.
* *
* @param secret shared secret will be written into this chunk * @param secret shared secret will be written into this chunk
* @return SUCCESS, FAILED if not both DH values are set * @return SUCCESS, FAILED if not both DH values are set
@ -108,7 +107,7 @@ struct diffie_hellman_t {
diffie_hellman_group_t (*get_dh_group) (diffie_hellman_t *this); diffie_hellman_group_t (*get_dh_group) (diffie_hellman_t *this);
/** /**
* Destroys an diffie_hellman_t object. * Destroys a diffie_hellman_t object.
*/ */
void (*destroy) (diffie_hellman_t *this); void (*destroy) (diffie_hellman_t *this);
}; };