[or-cvs] another wishlist function for the tls interface
Roger Dingledine
arma at seul.org
Mon Sep 8 10:46:22 UTC 2003
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common
Modified Files:
tortls.h
Log Message:
another wishlist function for the tls interface
Index: tortls.h
===================================================================
RCS file: /home/or/cvsroot/src/common/tortls.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tortls.h 8 Sep 2003 06:22:19 -0000 1.2
+++ tortls.h 8 Sep 2003 10:46:19 -0000 1.3
@@ -24,6 +24,11 @@
int tor_tls_write(tor_tls *tls, char *cp, int n);
int tor_tls_handshake(tor_tls *tls);
/* XXXX we need a function to check for validated, verified peer certs. */
+/* XXXX i would also very much like a function to tell me who i just
+ * handshaked with. maybe a nickname, and from there i can look
+ * up a router entry? and maybe one day a function to make sure the cert
+ * doesn't disagree too much with the router entry.
+ */
int tor_tls_shutdown(tor_tls *tls);
#endif
More information about the tor-commits
mailing list