Fix typos in ChangeLog and comments
diff --git a/ChangeLog b/ChangeLog
index 651ee4f..4e3ed30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,7 +12,7 @@
of close to or larger than 1GB to exploit; on 64 bit machines, would require
reading a string of close to or larger than 2^62 bytes.
* Fix potential random memory allocation in mbedtls_pem_read_buffer()
- on crafted PEM input data. Found an fix provided by Guid Vranken.
+ on crafted PEM input data. Found and fix provided by Guido Vranken.
Not triggerable remotely in TLS. Triggerable remotely if you accept PEM
data from an untrusted source.
* Fix potential double-free if ssl_set_psk() is called repeatedly on
diff --git a/include/polarssl/base64.h b/include/polarssl/base64.h
index dd11bda..f862192 100644
--- a/include/polarssl/base64.h
+++ b/include/polarssl/base64.h
@@ -46,7 +46,7 @@
* *dlen is always updated to reflect the amount
* of data that has (or would have) been written.
* If that length cannot be represented, then no data is
- * written to the buffer and *olen is set to SIZE_T_MAX.
+ * written to the buffer and *dlen is set to SIZE_T_MAX.
*
* \note Call this function with *dlen = 0 to obtain the
* required buffer size in *dlen