Various style, typo and whitespace corrections
This commit is contained in:
parent
9d17c1a679
commit
5ed3e3a7e6
4
HACKING
4
HACKING
|
@ -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)
|
||||||
|
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue