[Asterisk-cvs] asterisk/include/asterisk crypto.h,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Sat Aug 14 17:42:22 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory localhost.localdomain:/tmp/cvs-serv14537/include/asterisk

Modified Files:
	crypto.h 
Log Message:
Oops, forgot message length


Index: crypto.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/crypto.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- crypto.h	14 Aug 2004 20:19:38 -0000	1.2
+++ crypto.h	14 Aug 2004 21:28:30 -0000	1.3
@@ -62,7 +62,7 @@
  * Returns 0 if the signature is valid, or -1 otherwise
  *
  */
-extern int ast_check_signature_bin(struct ast_key *key, char *msg, unsigned char *sig);
+extern int ast_check_signature_bin(struct ast_key *key, char *msg, int msglen, unsigned char *sig);
 
 /*!
  * \param key a private key to use to create the signature
@@ -83,7 +83,7 @@
  * Returns 0 on success or -1 on failure.
  *
  */
-extern int ast_sign_bin(struct ast_key *key, char *msg, unsigned char *sig);
+extern int ast_sign_bin(struct ast_key *key, char *msg, int msglen, unsigned char *sig);
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }




More information about the svn-commits mailing list