Kevin Easton
9b0d3e4ab5
Type improvements to the internal encrypt/decrypt and CTCP quoting API
...
Use size_t for passing buffer lengths, and const char * for encryption keys and other non-modified buffer
arguments.
Remove pointless helper function do_crypt().
2017-06-28 16:57:35 +10:00
Kevin Easton
69109d9045
Ensure that crypt_msg always leaves space for the trailing CTCP delimiter.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@393 13b04d17-f746-0410-82c6-800466cd88b0
2013-10-14 14:10:26 +00:00
Tim Cava
4f529d214f
Cleanup crypt_msg(). Use strlcat rather than sprintf and strmcat.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@388 13b04d17-f746-0410-82c6-800466cd88b0
2013-10-13 20:20:52 +00:00
Tim Cava
21612025eb
Use strlcpy and strlcat, rather than strmcpy and strmcat, in decrypt_msg().
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@373 13b04d17-f746-0410-82c6-800466cd88b0
2013-09-18 23:41:46 +00:00
Kevin Easton
533c3dbcbf
Turn on SVN keyword replacement for $Date$, $Author$, $Revision$, $Id$ for all
...
*.c and *.h files.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/branches/ircii-pana-1.1@3 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:49:14 +00:00
Kevin Easton
28febcfea9
Initial import of the ircii-pana-1.1-final source tree.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00