projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89b640f
)
Added const qualifier to a couple of local pointers to get rid of compile warnings...
author
David Levine
<levinedl@acm.org>
Sat, 31 Mar 2012 16:52:10 +0000
(11:52 -0500)
committer
David Levine
<levinedl@acm.org>
Sat, 31 Mar 2012 16:52:10 +0000
(11:52 -0500)
mts/smtp/smtp.c
patch
|
blob
|
history
test/README
patch
|
blob
|
history
diff --git
a/mts/smtp/smtp.c
b/mts/smtp/smtp.c
index
5e4b7bd
..
3ba9fbc
100644
(file)
--- a/
mts/smtp/smtp.c
+++ b/
mts/smtp/smtp.c
@@
-316,7
+316,7
@@
smtp_init (char *client, char *server, char *port, int watch, int verbose,
*/
if (! sslctx) {
*/
if (! sslctx) {
- SSL_METHOD *method;
+ const SSL_METHOD *method;
SSL_library_init();
SSL_load_error_strings();
SSL_library_init();
SSL_load_error_strings();
@@
-386,7
+386,7
@@
smtp_init (char *client, char *server, char *port, int watch, int verbose,
}
if (sm_debug) {
}
if (sm_debug) {
- SSL_CIPHER *cipher = SSL_get_current_cipher(ssl);
+ const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl);
printf("SSL negotiation successful: %s(%d) %s\n",
SSL_CIPHER_get_name(cipher),
SSL_CIPHER_get_bits(cipher, NULL),
printf("SSL negotiation successful: %s(%d) %s\n",
SSL_CIPHER_get_name(cipher),
SSL_CIPHER_get_bits(cipher, NULL),
diff --git
a/test/README
b/test/README
index
6d39162
..
ad2190a
100644
(file)
--- a/
test/README
+++ b/
test/README
@@
-17,7
+17,7
@@
designed to work with Automake. To run these tests you can do "make check"
via the top-level Makefile. This is also done automatically via
"make distcheck".
via the top-level Makefile. This is also done automatically via
"make distcheck".
-WARNING: The test suite installs nmh and run the tests on that test
+WARNING: The test suite installs nmh and runs the tests on that test
installation. If you run tests individually, they will not remove
that test installation or check to see if it remains up to date with
your nmh workspace. You can run test/clean after a test to remove the
installation. If you run tests individually, they will not remove
that test installation or check to see if it remains up to date with
your nmh workspace. You can run test/clean after a test to remove the