projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf5b302
)
Declare generate_webpage_certificate() static
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 11 Dec 2019 12:05:24 +0000
(13:05 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 13 Feb 2020 11:35:28 +0000
(12:35 +0100)
ssl.c
patch
|
blob
|
history
diff --git
a/ssl.c
b/ssl.c
index
ef4abc6
..
ca9474f
100644
(file)
--- a/
ssl.c
+++ b/
ssl.c
@@
-107,7
+107,7
@@
typedef struct {
char *key_file_path; /* filename of the key file */
} key_options;
char *key_file_path; /* filename of the key file */
} key_options;
-
extern
int generate_webpage_certificate(struct client_state *csp);
+
static
int generate_webpage_certificate(struct client_state *csp);
static char *make_certs_path(const char *conf_dir, const char *file_name, const char *suffix);
static int file_exists(const char *path);
static int host_to_hash(struct client_state *csp);
static char *make_certs_path(const char *conf_dir, const char *file_name, const char *suffix);
static int file_exists(const char *path);
static int host_to_hash(struct client_state *csp);
@@
-1203,7
+1203,7
@@
exit:
* >0 => Length of created certificate.
*
*********************************************************************/
* >0 => Length of created certificate.
*
*********************************************************************/
-
extern
int generate_webpage_certificate(struct client_state *csp)
+
static
int generate_webpage_certificate(struct client_state *csp)
{
mbedtls_x509_crt issuer_cert;
mbedtls_pk_context loaded_issuer_key, loaded_subject_key;
{
mbedtls_x509_crt issuer_cert;
mbedtls_pk_context loaded_issuer_key, loaded_subject_key;