[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tinc/src protocol_auth.c,1.1.4.27,1.1.4.28



Update of /home/CVS/tinc/src
In directory humbolt:/tmp/cvs-serv15489

Modified Files:
      Tag: CABAL
	protocol_auth.c 
Log Message:
Parentheses in the wrong spots.


Index: protocol_auth.c
===================================================================
RCS file: /home/CVS/tinc/src/protocol_auth.c,v
retrieving revision 1.1.4.27
retrieving revision 1.1.4.28
diff -u -r1.1.4.27 -r1.1.4.28
--- protocol_auth.c	2003/10/11 12:16:13	1.1.4.27
+++ protocol_auth.c	2003/10/11 12:28:48	1.1.4.28
@@ -385,8 +385,8 @@
 	/* Calculate the hash from the challenge we received */
 
 	if(!EVP_DigestInit(&ctx, c->indigest)
-			|| !EVP_DigestUpdate(&ctx, c->mychallenge, RSA_size(myself->connection->rsa_key)
-			|| !EVP_DigestFinal(&ctx, hash, NULL))) {
+			|| !EVP_DigestUpdate(&ctx, c->mychallenge, RSA_size(myself->connection->rsa_key))
+			|| !EVP_DigestFinal(&ctx, hash, NULL)) {
 		logger(LOG_ERR, _("Error during calculation of response for %s (%s): %s"),
 			c->name, c->hostname, ERR_error_string(ERR_get_error(), NULL));
 		return false;

--
Tinc-cvs:     CVS changelog list for the tinc VPN daemon
Archive:      http://mail.nl.linux.org/tinc-cvs/
Tinc site:    http://tinc.nl.linux.org/