Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -50,7 +50,7 @@ typedef stream_t*(*stream_constructor_t)(char *uri);
|
||||
typedef bool (*stream_cb_t)(void *data, stream_t *stream);
|
||||
|
||||
/**
|
||||
* Abstraction of a Berkley socket using stream semantics.
|
||||
* Abstraction of a Berkeley socket using stream semantics.
|
||||
*/
|
||||
struct stream_t {
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@ METHOD(private_key_t, get_encoding, bool,
|
||||
int len;
|
||||
|
||||
/* n and d are of keysize length, p and q plus the three CRT
|
||||
* params roughtly half that, the version and e are small */
|
||||
* params roughly half that, the version and e are small */
|
||||
len = wc_RsaEncryptSize(&this->rsa) * 5 + MAX_SEQ_SZ;
|
||||
*encoding = chunk_alloc(len);
|
||||
len = wc_RsaKeyToDer(&this->rsa, encoding->ptr, len);
|
||||
|
||||
Reference in New Issue
Block a user