[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/digest-md5
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/digest-md5 |
Date: |
Mon, 04 Oct 2004 17:06:43 +0200 |
Update of /home/cvs/gsasl/lib/digest-md5
In directory dopio:/tmp/cvs-serv10179/lib/digest-md5
Modified Files:
getsubopt.c shared.c shared.h
Log Message:
Fix warnings.
--- /home/cvs/gsasl/lib/digest-md5/getsubopt.c 2004/10/04 14:46:26 1.2
+++ /home/cvs/gsasl/lib/digest-md5/getsubopt.c 2004/10/04 15:06:43 1.3
@@ -39,7 +39,7 @@
suboption. On exit *OPTIONP is set to the beginning of the next
token or at the terminating NUL character. */
int
-_gsasl_getsubopt (char **optionp, char *const *tokens, char **valuep)
+_gsasl_getsubopt (char **optionp, const char *const *tokens, char **valuep)
{
char *endp, *vstart;
int cnt;
--- /home/cvs/gsasl/lib/digest-md5/shared.c 2004/10/04 14:56:02 1.3
+++ /home/cvs/gsasl/lib/digest-md5/shared.c 2004/10/04 15:06:43 1.4
@@ -34,7 +34,7 @@
#include "digest-md5.h"
#include "shared.h"
-char *const digest_challenge_opts[] = {
+const char *const digest_challenge_opts[] = {
/* the order must match the previous enum */
"realm",
"nonce",
@@ -47,7 +47,7 @@
NULL
};
-char *const digest_response_opts[] = {
+const char *const digest_response_opts[] = {
/* the order must match the previous enum */
"username",
"realm",
@@ -64,14 +64,13 @@
NULL
};
-
-char *const digest_responseauth_opts[] = {
+const char *const digest_responseauth_opts[] = {
/* the order must match the previous enum */
"rspauth",
NULL
};
-char *const qop_opts[] = {
+const char *const qop_opts[] = {
/* the order must match the previous enum */
QOP_AUTH,
QOP_AUTH_INT,
@@ -79,7 +78,7 @@
NULL
};
-char *const cipher_opts[] = {
+const char *const cipher_opts[] = {
/* the order must match the previous enum */
CIPHER_DES,
CIPHER_3DES,
--- /home/cvs/gsasl/lib/digest-md5/shared.h 2004/10/04 14:56:02 1.3
+++ /home/cvs/gsasl/lib/digest-md5/shared.h 2004/10/04 15:06:43 1.4
@@ -143,7 +143,7 @@
CHALLENGE_CIPHER
};
-extern char *const digest_challenge_opts[];
+extern const char *const digest_challenge_opts[];
enum
{
@@ -162,7 +162,7 @@
RESPONSE_AUTHZID
};
-extern char *const digest_response_opts[];
+extern const char *const digest_response_opts[];
enum
{
@@ -170,7 +170,7 @@
RESPONSEAUTH_RSPAUTH = 0
};
-extern char *const digest_responseauth_opts[];
+extern const char *const digest_responseauth_opts[];
enum
{
@@ -180,7 +180,7 @@
QOP_AUTH_CONF_OPTION
};
-extern char *const qop_opts[];
+extern const char *const qop_opts[];
enum
{
@@ -193,10 +193,10 @@
CIPHER_AES_OPTION
};
-extern char *const cipher_opts[];
+extern const char *const cipher_opts[];
extern int
-_gsasl_getsubopt (char **optionp, char *const *tokens, char **valuep);
+_gsasl_getsubopt (char **optionp, const char *const *tokens, char **valuep);
extern int
_gsasl_digest (char *output,
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/04
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/04
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/04
- CVS gsasl/lib/digest-md5,
gsasl-commit <=
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/13
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/31
- CVS gsasl/lib/digest-md5, gsasl-commit, 2004/10/31