summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-01 23:29:20 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-01 23:29:20 +0000
commit1558fb76500a2ab43b12d2f72c8cf255f5221233 (patch)
treee36a53d86500d73d2d5701c36da0ae126b858016 /src/common/tortls.c
parentf6fe336ad41fadc5e21517ce97e46a190d01407e (diff)
downloadtor-1558fb76500a2ab43b12d2f72c8cf255f5221233.tar.gz
tor-1558fb76500a2ab43b12d2f72c8cf255f5221233.zip
some patches on the patches
svn:r1761
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 05cc0200e2..e480f79e77 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -33,7 +33,7 @@ typedef struct tor_tls_context_st {
SSL_CTX *ctx;
} tor_tls_context;
-/* Holds a SSL object and it associated data.
+/* Holds a SSL object and its associated data.
*/
struct tor_tls_st {
SSL *ssl;
@@ -41,7 +41,7 @@ struct tor_tls_st {
enum {
TOR_TLS_ST_HANDSHAKE, TOR_TLS_ST_OPEN, TOR_TLS_ST_GOTCLOSE,
TOR_TLS_ST_SENTCLOSE, TOR_TLS_ST_CLOSED
- } state; /* The current SSL state, depending on which operatios have
+ } state; /* The current SSL state, depending on which operations have
* completed successfully. */
int isServer;
int wantwrite_n; /* 0 normally, >0 if we returned wantwrite last time */
@@ -99,7 +99,7 @@ tls_log_errors(int severity, const char *doing)
* _TOR_TLS_ZERORETURN instead of reporting zero-return errors.
*
* If an error has occurred, log it at level 'severity' and describe the
- * current action as 'doing.'
+ * current action as 'doing'.
*/
static int
tor_tls_get_error(tor_tls *tls, int r, int extra,