summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-16 18:34:54 -0400
committerAndrew Cady <d@jerkface.net>2021-03-13 10:46:55 -0500
commitb66035b8987ba524576365846b115c3cf4a25a53 (patch)
tree7638a90ae36210135e7da706281890dc549c50b5
parent0ec7190620055ca1fea5fa63c0b71c333d1c6b1e (diff)
eliminate warning about const pointer cast
-rw-r--r--auth-options.c6
-rw-r--r--auth-options.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/auth-options.c b/auth-options.c
index d6c4e41b2..a15bc0502 100644
--- a/auth-options.c
+++ b/auth-options.c
@@ -40,9 +40,9 @@
40#include "ssh2.h" 40#include "ssh2.h"
41#include "auth-options.h" 41#include "auth-options.h"
42 42
43char *wildcard_remote_key = NULL; 43const char *wildcard_remote_key = NULL;
44char *wildcard_remote_key_type = NULL; 44const char *wildcard_remote_key_type = NULL;
45char *wildcard_remote_key_fingerprint = NULL; 45const char *wildcard_remote_key_fingerprint = NULL;
46 46
47static int 47static int
48dup_strings(char ***dstp, size_t *ndstp, char **src, size_t nsrc) 48dup_strings(char ***dstp, size_t *ndstp, char **src, size_t nsrc)
diff --git a/auth-options.h b/auth-options.h
index e64acdf70..c6b475be4 100644
--- a/auth-options.h
+++ b/auth-options.h
@@ -75,9 +75,9 @@ struct sshauthopt {
75 int require_verify; 75 int require_verify;
76}; 76};
77 77
78extern char *wildcard_remote_key; 78extern const char *wildcard_remote_key;
79extern char *wildcard_remote_key_type; 79extern const char *wildcard_remote_key_type;
80extern char *wildcard_remote_key_fingerprint; 80extern const char *wildcard_remote_key_fingerprint;
81 81
82struct sshauthopt *sshauthopt_new(void); 82struct sshauthopt *sshauthopt_new(void);
83struct sshauthopt *sshauthopt_new_with_keys_defaults(void); 83struct sshauthopt *sshauthopt_new_with_keys_defaults(void);